Dependabot Auto-Merge #1934
This file contains 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: | |
workflow_run: | |
types: | |
- "completed" | |
workflows: | |
- "CI" | |
permissions: | |
pull-requests: "write" | |
contents: "write" | |
jobs: | |
dependabot: | |
runs-on: "ubuntu-latest" | |
# Checking the actor will prevent the action from running on non-Dependabot PRs | |
if: ${{ (github.actor == 'dependabot[bot]') && (github.event.workflow_run.conclusion == 'success') }} | |
steps: | |
- name: "Auto-merge Dependabot PR" | |
uses: ridedott/merge-me-action@v2 | |
with: | |
GITHUB_TOKEN: ${{ secrets.PRIVATE_TOKEN }} | |
PRESET: DEPENDABOT_MINOR | |
MERGE_METHOD: REBASE |