Skip to content

Dependabot auto-merge #12

Dependabot auto-merge

Dependabot auto-merge #12

name: Dependabot auto-merge
on:
workflow_run:
workflows: [CI]
types: [completed]
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 --repo ${GITHUB_REPOSITORY} --auto --squash "${PR_URL}"
env:
PR_URL: ${{github.event.pull_request.html_url}}
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}