Skip to content

Dependabot auto-merge #14

Dependabot auto-merge

Dependabot auto-merge #14

name: Dependabot auto-merge
on:
workflow_run:
workflows: [CI]
types: [completed]
permissions:
pull-requests: write
contents: write
jobs:
dependabot:
runs-on: ubuntu-latest
if: ${{ github.event.workflow_run.conclusion == 'success' && github.actor == 'dependabot[bot]' }}
steps:
- name: Auto-merge dependabot pull request
run: gh pr merge --auto --squash "${PR_URL}"
env:
PR_URL: ${{ github.event.pull_request.html_url }}
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}