We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
pre-commit
1 parent 7f105c0 commit 43c0c83Copy full SHA for 43c0c83
1 file changed
.github/workflows/pre-commit-autoupdate.yml
@@ -0,0 +1,25 @@
1
+name: Pre-commit auto-update
2
+
3
+on:
4
+ schedule:
5
+ - cron: 0 0 * * 1 # midnight every Monday
6
+ workflow_dispatch:
7
8
+permissions:
9
+ contents: write
10
+ pull-requests: write
11
12
+jobs:
13
+ auto-update:
14
+ runs-on: ubuntu-latest
15
+ steps:
16
+ - uses: actions/checkout@v4
17
+ - uses: actions/setup-python@v5
18
+ - uses: browniebroke/pre-commit-autoupdate-action@1
19
+ - uses: peter-evans/create-pull-request@v7
20
+ with:
21
+ token: ${{ secrets.GH_TOKEN_FOR_UPDATES }}
22
+ branch: update/pre-commit-hooks
23
+ title: Update pre-commit hooks
24
+ commit-message: "chore: update pre-commit hooks"
25
+ body: Update versions of pre-commit hooks to latest version.
0 commit comments