Skip to content

Dependabot Auto-Merge #1592

Dependabot Auto-Merge

Dependabot Auto-Merge #1592

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