Skip to content

Commit dff7515

Browse files
committed
Autofix PRs with pre-commit CI
1 parent 2b105cb commit dff7515

File tree

3 files changed

+1
-8
lines changed

3 files changed

+1
-8
lines changed

.github/workflows/update-all-review-data.yml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -25,10 +25,6 @@ jobs:
2525
update-contributors --update update_all
2626
update-reviews
2727
update-review-teams
28-
- name: Run pre-commit
29-
uses: pre-commit/[email protected]
30-
with:
31-
extra_args: --files _data/packages.yml _data/contributors.yml
3228
- name: Create Pull Request
3329
uses: peter-evans/create-pull-request@v7
3430
with:

.github/workflows/update-contribs-reviews.yml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,9 +30,6 @@ jobs:
3030
update-reviews
3131
update-review-teams
3232
33-
- name: run precommit hooks
34-
uses: pre-commit/[email protected]
35-
continue-on-error: true
3633
- name: Create Pull Request
3734
uses: peter-evans/create-pull-request@v7
3835
with:

.pre-commit-config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
# - Register git hooks: pre-commit install --install-hooks
1313

1414
ci:
15-
autofix_prs: false
15+
autofix_prs: true
1616
#skip: [flake8, end-of-file-fixer]
1717
autofix_commit_msg: |
1818
'[pre-commit.ci 🤖] Apply code format tools to PR'

0 commit comments

Comments
 (0)