name: Dependabot Auto-merge # NOTE: This workflow relies on a Personal Access Token from the @ActivityWatchBot user # See this issue for details: https://github.com/ridedott/merge-me-action/issues/1581 on: workflow_run: types: - completed workflows: # List all required workflow names here. - Build permissions: contents: write pull-requests: read jobs: auto_merge: name: Auto-merge runs-on: ubuntu-latest if: github.event.workflow_run.conclusion == 'success' && github.actor == 'dependabot[bot]' steps: - uses: ridedott/merge-me-action@e45e8ab1dd3d3dc1d27b8c0a3f465e40e8c9fb8e # v2 with: GITHUB_TOKEN: ${{ secrets.AWBOT_GH_TOKEN }}