Skip to content

Commit e702caf

Browse files
authored
Only use pre-commit ci autofix on automated PRs (#604)
1 parent c6d4e69 commit e702caf

File tree

3 files changed

+5
-1
lines changed

3 files changed

+5
-1
lines changed

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,8 @@ jobs:
3737
commit-message: "Update: Contributor & review file update"
3838
delete-branch: true
3939
title: Update contributor and review data
40+
labels: |
41+
pre-commit.ci autofix
4042
env:
4143
# Custom token needed to trigger PR checks, as GITHUB_TOKEN won't
4244
# https://github.com/peter-evans/create-pull-request/blob/main/docs/concepts-guidelines.md#triggering-further-workflow-runs

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,8 @@ jobs:
4242
commit-message: "Update: Contributor & review file update"
4343
delete-branch: true
4444
title: Update contributor and review data
45+
labels: |
46+
pre-commit.ci autofix
4547
env:
4648
# Custom token needed to trigger PR checks, as GITHUB_TOKEN won't
4749
# https://github.com/peter-evans/create-pull-request/blob/main/docs/concepts-guidelines.md#triggering-further-workflow-runs

.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: true
15+
autofix_prs: false
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)