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 5baf28b commit 8546defCopy full SHA for 8546def
.github/workflows/pre-commit-update.yml
@@ -0,0 +1,21 @@
1
+name: Pre-commit auto-update
2
+
3
+on:
4
+ # every monday at midnight
5
+ schedule:
6
+ - cron: "0 0 * * 1"
7
+ # on demand
8
+ workflow_dispatch:
9
10
+jobs:
11
+ upgrade:
12
+ uses: browniebroke/github-actions/.github/workflows/pre-commit-autoupdate.yml@v1.21.0
13
+ secrets:
14
+ gh_pat: ${{ secrets.GH_PERSONAL_ACCESS_TOKEN }}
15
+ with:
16
+ # Inputs listed with their default (all optional)
17
+ config_path: ".pre-commit-config.yaml" # path is relative to repository root
18
+ python_version: "3.11"
19
+ branch_name: "update/pre-commit-hooks"
20
+ pull_request_title: "chore: upgrade pre-commit dependencies"
21
+ commit_message: "chore: upgrade pre-commit dependencies"
0 commit comments