We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
autofix_commit_msg
1 parent f2c8062 commit 4636b85Copy full SHA for 4636b85
2 files changed
.github/workflows/pre-commit-autoupdate.yml
@@ -23,7 +23,7 @@ jobs:
23
git checkout -B pre-commit-update
24
pre-commit autoupdate -j4
25
git add .pre-commit-config.yaml
26
- git commit -am "Update pre-commit"
+ git commit -m "$(cat .pre-commit-config.yaml | yq -r '.ci.autoupdate_commit_msg // "Update pre-commit config"')"
27
git push -f origin pre-commit-update
28
- name: Create PR if necessary
29
run: |
.pre-commit-config.yaml
@@ -2,9 +2,7 @@
2
# See https://pre-commit.com/hooks.html for more hooks
3
---
4
ci:
5
- autofix_commit_msg: "style: pre-commit.ci auto fixes [...]"
6
autoupdate_commit_msg: "chore: pre-commit autoupdate"
7
- autoupdate_schedule: monthly
8
repos:
9
- repo: https://github.com/pre-commit/pre-commit-hooks
10
rev: v5.0.0
0 commit comments