File tree Expand file tree Collapse file tree 2 files changed +27
-2
lines changed Expand file tree Collapse file tree 2 files changed +27
-2
lines changed Original file line number Diff line number Diff line change 1+ name : Pre-commit auto-update
2+ on : # yamllint disable-line rule:truthy
3+ schedule :
4+ - cron : 0 0 1 * *
5+ jobs :
6+ auto-update :
7+ runs-on : ubuntu-latest
8+ steps :
9+ - uses : actions/checkout@v4
10+ - name : Set up Python
11+ uses : actions/setup-python@v5
12+ - name : Install pre-commit
13+ run : pip install pre-commit
14+ - name : Run pre-commit autoupdate
15+ run : pre-commit autoupdate
16+ - name : Create Pull Request
17+ uses : peter-evans/create-pull-request@v7
18+ with :
19+ token : ${{ secrets.GITHUB_TOKEN }}
20+ branch : update/pre-commit-autoupdate
21+ title : Auto-update pre-commit hooks
22+ commit-message : Auto-update pre-commit hooks
23+ body : |
24+ Update pre-commit hooks to latest version
25+ labels : dependencies
Original file line number Diff line number Diff line change 22# See https://pre-commit.com/hooks.html for more hooks
33repos :
44- repo : https://github.com/pre-commit/pre-commit-hooks
5- rev : v2.3 .0
5+ rev : v5.0 .0
66 hooks :
77 - id : check-yaml
88 - id : end-of-file-fixer
99 - id : trailing-whitespace
1010- repo : https://github.com/DavidAnson/markdownlint-cli2
11- rev : v0.9.2
11+ rev : v0.15.0
1212 hooks :
1313 - id : markdownlint-cli2-rules-docker
1414- repo : https://github.com/shellcheck-py/shellcheck-py
You can’t perform that action at this time.
0 commit comments