File tree Expand file tree Collapse file tree 1 file changed +11
-6
lines changed
Expand file tree Collapse file tree 1 file changed +11
-6
lines changed Original file line number Diff line number Diff line change @@ -46,13 +46,18 @@ jobs:
4646
4747 # GitHub actions bot approve
4848 - uses : hmarr/auto-approve-action@f0939ea97e9205ef24d872e76833fa908a770363 # v4.0.0
49- if : startsWith(steps.branchname.outputs.branch, 'renovate/')
49+ if : github.actor == 'renovate[bot]'
5050 with :
5151 github-token : ${{ secrets.GITHUB_TOKEN }}
5252
53- # Enable GitHub auto merge
54- - name : Auto merge
55- uses : alexwilson/enable-github-automerge-action@56e3117d1ae1540309dc8f7a9f2825bc3c5f06ff # v2.0.0
56- if : startsWith(steps.branchname.outputs.branch, 'renovate/')
53+ - uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
5754 with :
58- github-token : ${{ secrets.GITHUB_TOKEN }}
55+ ref : ${{ github.head_ref }}
56+
57+ # Enable GitHub auto merge
58+ - name : Enable Pull Request Automerge
59+ if : github.actor == 'renovate[bot]'
60+ run : gh pr merge --merge --auto
61+ env :
62+ GH_TOKEN : ${{ secrets.AUTOMERGE }}
63+
You can’t perform that action at this time.
0 commit comments