Skip to content

Commit 4636b85

Browse files
committed
Use autofix_commit_msg and remove now useless fields
1 parent f2c8062 commit 4636b85

2 files changed

Lines changed: 1 addition & 3 deletions

File tree

.github/workflows/pre-commit-autoupdate.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ jobs:
2323
git checkout -B pre-commit-update
2424
pre-commit autoupdate -j4
2525
git add .pre-commit-config.yaml
26-
git commit -am "Update pre-commit"
26+
git commit -m "$(cat .pre-commit-config.yaml | yq -r '.ci.autoupdate_commit_msg // "Update pre-commit config"')"
2727
git push -f origin pre-commit-update
2828
- name: Create PR if necessary
2929
run: |

.pre-commit-config.yaml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,7 @@
22
# See https://pre-commit.com/hooks.html for more hooks
33
---
44
ci:
5-
autofix_commit_msg: "style: pre-commit.ci auto fixes [...]"
65
autoupdate_commit_msg: "chore: pre-commit autoupdate"
7-
autoupdate_schedule: monthly
86
repos:
97
- repo: https://github.com/pre-commit/pre-commit-hooks
108
rev: v5.0.0

0 commit comments

Comments
 (0)