Skip to content

Commit

Permalink
Update workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
peter-evans committed Dec 8, 2022
1 parent b155cf1 commit 26b39ed
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions .github/workflows/automerge-dependabot.yml
Original file line number Diff line number Diff line change
@@ -1,17 +1,13 @@
name: Auto-merge Dependabot
on: pull_request

permissions:
pull-requests: write
contents: 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 }}
token: ${{ secrets.DEPENDABOT_AUTOMERGE }}
pull-request-number: ${{ github.event.pull_request.number }}
merge-method: squash

0 comments on commit 26b39ed

Please sign in to comment.