Skip to content

Commit

Permalink
Add automerge workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
peter-evans committed Dec 8, 2022
1 parent 3c7e484 commit f8e700e
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions .github/workflows/automerge-dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
name: Auto-merge Dependabot
on: pull_request

permissions:
pull-requests: write

jobs:
automerge:
runs-on: ubuntu-latest
if: github.actor == 'dependabot[bot]'
steps:
- uses: peter-evans/enable-pull-request-automerge@v2
with:
token: ${{ secrets.GITHUB_TOKEN }}
pull-request-number: ${{ github.event.pull_request.number }}
merge-method: squash

0 comments on commit f8e700e

Please sign in to comment.