We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 0eddb93 + 9916fad commit 5b76a76Copy full SHA for 5b76a76
1 file changed
.github/workflows/auto-merge-bot.yaml
@@ -7,14 +7,15 @@ on:
7
jobs:
8
automerge:
9
runs-on: ubuntu-latest
10
+ if: github.event.pull_request.user.login == 'dockerhub-toolshed'
11
steps:
12
- uses: actions/create-github-app-token@v3
13
id: app-token
14
with:
15
app-id: 3114451
16
private-key: ${{ secrets.APP_PRIVATE_KEY }}
17
- - uses: daneden/enable-automerge-action@v1
18
- with:
19
- github-token: ${{ steps.app-token.outputs.token }}
20
- allowed-author: "dockerhub-toolshed"
+ - name: Enable Pull Request Automerge
+ run: gh pr merge --merge --auto "${{ github.event.pull_request.number }}"
+ env:
21
+ GH_TOKEN: ${{ steps.app-token.outputs.token }}
0 commit comments