We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7318999 commit 193d661Copy full SHA for 193d661
.github/workflows/pre-commit-update.yml
@@ -0,0 +1,26 @@
1
+name: Pre-commit auto-update
2
+
3
+on:
4
+ # every day at midnight
5
+ schedule:
6
+ - cron: "0 0 * * *"
7
+ # on demand
8
+ workflow_dispatch:
9
10
+jobs:
11
+ auto-update:
12
+ runs-on: ubuntu-latest
13
+ steps:
14
+ - uses: actions/checkout@v2
15
16
+ - uses: actions/setup-python@v2
17
18
+ - uses: browniebroke/pre-commit-autoupdate-action@main
19
20
+ - uses: peter-evans/create-pull-request@v3
21
+ with:
22
+ token: ${{ secrets.GITHUB_TOKEN }}
23
+ branch: update/pre-commit-hooks
24
+ title: Update pre-commit hooks
25
+ commit-message: "chore: update pre-commit hooks"
26
+ body: Update versions of pre-commit hooks to latest version.
0 commit comments