File tree Expand file tree Collapse file tree 1 file changed +19
-7
lines changed Expand file tree Collapse file tree 1 file changed +19
-7
lines changed Original file line number Diff line number Diff line change @@ -21,13 +21,25 @@ jobs:
2121 - name : Checkout DPNP repo
2222 uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
2323
24- - name : Run pre-commit autoupdate
25- uses : pre-commit/action@2c7b3805fd2a0fd8c1884dcaebf91fc102a13ecd # v3.0.1
24+ - name : Set up python
25+ uses : actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5.6.0
2626 with :
27- args : autoupdate
27+ python-version : ' 3.13'
28+
29+ - name : Install pre-commit
30+ run : pip install pre-commit
31+
32+ - name : Run pre-commit autoupdate
33+ run : pre-commit autoupdate
2834
29- - name : Commit changes
30- uses : stefanzweifel/git-auto-commit-action@778341af668090896ca464160c2def5d1d1a3eb0 # v6 .0.1
35+ - name : Create a PR with autoupdate changes
36+ uses : peter-evans/create-pull-request@271a8d0340265f705b14b6d32b9829c1cb33d45e # v7 .0.8
3137 with :
32- commit_message : ' chore: update pre-commit hooks'
33- file_pattern : .pre-commit-config.yaml
38+ commit-message : ' chore: update pre-commit hooks'
39+ add-paths : .pre-commit-config.yaml
40+ branch : ' bot/pre-commit-autoupdate'
41+ delete-branch : true
42+ title : Weekly pre-commit autoupdate
43+ body : |
44+ This PR updates the `.pre-commit-config.yaml` using `pre-commit autoupdate`.
45+ labels : autoupdate
You can’t perform that action at this time.
0 commit comments