File tree Expand file tree Collapse file tree 1 file changed +7
-0
lines changed Expand file tree Collapse file tree 1 file changed +7
-0
lines changed Original file line number Diff line number Diff line change 66 auto-approve :
77 runs-on : ubuntu-latest
88 permissions :
9+ contents : write
910 pull-requests : write
1011 if : (github.actor == 'renovate[bot]' && startsWith(github.head_ref, 'renovate/automerge/'))
1112 || (github.actor == 'pre-commit-ci[bot]' && startsWith(github.head_ref, 'pre-commit-ci-update-config'))
1213 steps :
1314 - uses : hmarr/auto-approve-action@f0939ea97e9205ef24d872e76833fa908a770363 # v4.0.0
15+ - name : Enable auto-merge for pre-commit.ci autoupdate PRs
16+ if : github.actor == 'pre-commit-ci[bot]' && startsWith(github.head_ref, 'pre-commit-ci-update-config')
17+ env :
18+ PR_URL : ${{github.event.pull_request.html_url}}
19+ GH_TOKEN : ${{secrets.GITHUB_TOKEN}}
20+ run : gh pr merge --auto --merge "$PR_URL"
You can’t perform that action at this time.
0 commit comments