File tree Expand file tree Collapse file tree 1 file changed +7
-5
lines changed Expand file tree Collapse file tree 1 file changed +7
-5
lines changed Original file line number Diff line number Diff line change 1- name : Maybe Enable Auto-Merge
1+ name : Enable Auto-Merge For bots
22on :
33 pull_request_target :
44 types : [opened]
55
66jobs :
77 enable-auto-merge :
88 runs-on : ubuntu-latest
9- if : github.event.pull_request.user.login == 'metacpan-automation[bot]'
9+ if : >
10+ github.event.pull_request.user.login == 'metacpan-automation[bot]'
11+ || github.event.pull_request.user.login == 'dependabot[bot]'
1012 steps :
1113 - name : Generate Auth Token
12- id : auth- token
13- uses : jamestrousdale/github- app-jwt- token@0.1.4
14+ uses : actions/create-github-app- token@v2
15+ id : app-token
1416 with :
1517 app-id : ${{ secrets.APP_ID }}
1618 private-key : ${{ secrets.APP_PRIVATE_KEY }}
1719 - uses : peter-evans/enable-pull-request-automerge@v3
1820 with :
19- token : ${{ steps.auth -token.outputs.access- token }}
21+ token : ${{ steps.app -token.outputs.token }}
2022 pull-request-number : ${{ github.event.pull_request.number }}
You can’t perform that action at this time.
0 commit comments