File tree Expand file tree Collapse file tree 1 file changed +28
-0
lines changed Expand file tree Collapse file tree 1 file changed +28
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : Pre-commit auto-update
2
+ # <https://github.com/marketplace/actions/pre-commit-autoupdate>
3
+
4
+ on :
5
+ # every day at midnight
6
+ schedule :
7
+ # Automatically run on 07:27 UTC every Monday
8
+ - cron : ' 27 7 * * 1'
9
+ # on demand
10
+ workflow_dispatch :
11
+
12
+ jobs :
13
+ auto-update :
14
+ runs-on : ubuntu-latest
15
+ steps :
16
+ - uses : actions/checkout@v2
17
+
18
+ - uses : actions/setup-python@v2
19
+
20
+ - uses : browniebroke/pre-commit-autoupdate-action@main
21
+
22
+ - uses : peter-evans/create-pull-request@v3
23
+ with :
24
+ token : ${{ secrets.GITHUB_TOKEN }}
25
+ branch : update/pre-commit-hooks
26
+ title : Update pre-commit hooks
27
+ commit-message : " Update pre-commit hook versions"
28
+ body : Update versions of pre-commit hooks to latest version.
You can’t perform that action at this time.
0 commit comments