File tree 2 files changed +27
-2
lines changed
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 2
2
# See https://pre-commit.com/hooks.html for more hooks
3
3
repos :
4
4
- repo : https://github.com/pre-commit/pre-commit-hooks
5
- rev : v2.3 .0
5
+ rev : v5.0 .0
6
6
hooks :
7
7
- id : check-yaml
8
8
- id : end-of-file-fixer
9
9
- id : trailing-whitespace
10
10
- repo : https://github.com/DavidAnson/markdownlint-cli2
11
- rev : v0.9.2
11
+ rev : v0.15.0
12
12
hooks :
13
13
- id : markdownlint-cli2-rules-docker
14
14
- repo : https://github.com/shellcheck-py/shellcheck-py
You can’t perform that action at this time.
0 commit comments