File tree Expand file tree Collapse file tree 1 file changed +35
-0
lines changed
Expand file tree Collapse file tree 1 file changed +35
-0
lines changed Original file line number Diff line number Diff line change 1+ name : Update pre-commit
2+
3+ on :
4+ schedule :
5+ - cron : 0 0 * * 0
6+ workflow_dispatch :
7+
8+ permissions :
9+ pull-requests : write
10+ contents : write
11+
12+ jobs :
13+ release :
14+ name : Update pre-commit
15+ runs-on : ubuntu-22.04
16+ steps :
17+ - uses : actions/checkout@v4.1.7
18+ with :
19+ fetch-depth : 1
20+ submodules : true
21+
22+ - run : pip install pre-commit
23+ - run : pre-commit autoupdate
24+
25+ - name : Open pull request
26+ uses : peter-evans/create-pull-request@v6
27+ with :
28+ token : ${{ secrets.GITHUB_TOKEN }}
29+ delete-branch : true
30+ title : Update pre-commit
31+ body : Automatically update pre-commit
32+ commit-message : ' chore: Update pre-commit'
33+ committer : ' Stranger6667 <dmitry@dygalo.dev>'
34+ author : ' Stranger6667 <dmitry@dygalo.dev>'
35+ branch : " create-pull-request/update-pre-commit"
You can’t perform that action at this time.
0 commit comments