File tree Expand file tree Collapse file tree 1 file changed +33
-0
lines changed Expand file tree Collapse file tree 1 file changed +33
-0
lines changed Original file line number Diff line number Diff line change 1+ name : Autoupdate pre-Commit
2+
3+ on :
4+ # For Branch-Protection check. Only the default branch is supported. See
5+ # https://github.com/ossf/scorecard/blob/main/docs/checks.md#branch-protection
6+ branch_protection_rule :
7+ # To guarantee Maintained check is occasionally updated. See
8+ # https://github.com/ossf/scorecard/blob/main/docs/checks.md#maintained
9+ schedule :
10+ - cron : ' 28 2 * * 6' # Saturday at 02:28 UTC
11+ workflow_dispatch :
12+
13+ jobs :
14+ autoupdate :
15+ name : Autoupdate
16+
17+ runs-on : ubuntu-latest
18+ timeout-minutes : 10
19+
20+ steps :
21+ - name : Checkout DPNP repo
22+ uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
23+
24+ - name : Run pre-commit autoupdate
25+ uses : pre-commit/action@2c7b3805fd2a0fd8c1884dcaebf91fc102a13ecd # v3.0.1
26+ with :
27+ args : autoupdate
28+
29+ - name : Commit changes
30+ uses : stefanzweifel/git-auto-commit-action@778341af668090896ca464160c2def5d1d1a3eb0 # v6.0.1
31+ with :
32+ commit_message : ' chore: update pre-commit hooks'
33+ file_pattern : .pre-commit-config.yaml
You can’t perform that action at this time.
0 commit comments