Dependabot Auto-Merge #1
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Dependabot Auto-Merge | |
| on: | |
| pull_request_target: | |
| types: [opened, reopened, synchronize, ready_for_review] | |
| workflow_run: | |
| workflows: ["CI"] | |
| types: [completed] | |
| permissions: | |
| contents: write | |
| issues: write | |
| pull-requests: write | |
| jobs: | |
| auto-merge: | |
| if: >- | |
| ${{ | |
| ( | |
| github.event_name == 'pull_request_target' && | |
| github.event.pull_request.user.login == 'dependabot[bot]' && | |
| !github.event.pull_request.draft | |
| ) || | |
| ( | |
| github.event_name == 'workflow_run' && | |
| ( | |
| github.event.workflow_run.event == 'pull_request' || | |
| github.event.workflow_run.event == 'pull_request_target' | |
| ) && | |
| github.event.workflow_run.conclusion == 'success' | |
| ) | |
| }} | |
| # Pin to immutable SHA (not @main) so privileged write access cannot track a floating branch. | |
| uses: verygoodplugins/.github/.github/workflows/dependabot-auto-merge.yml@20252be624eca94c9eb852c8ba1d1063ec734101 # main @ 2026-05-17 | |
| secrets: | |
| GH_TOKEN: ${{ secrets.GH_TOKEN }} |