diff --git a/.github/workflows/auto-merge-bot.yaml b/.github/workflows/auto-merge-bot.yaml new file mode 100644 index 000000000..ec1b2b702 --- /dev/null +++ b/.github/workflows/auto-merge-bot.yaml @@ -0,0 +1,20 @@ +name: Auto-merge bot PRs + +on: + pull_request_target: + types: [opened, synchronize, reopened] + +jobs: + automerge: + runs-on: ubuntu-latest + steps: + - uses: actions/create-github-app-token@v3 + id: app-token + with: + app-id: 3114451 + private-key: ${{ secrets.APP_PRIVATE_KEY }} + + - uses: daneden/enable-automerge-action@v1 + with: + github-token: ${{ steps.app-token.outputs.token }} + allowed-author: "dockerhub-toolshed"