Skip to content

Commit

Permalink
ci: automatically merge dependabot pull requests on pass build stage
Browse files Browse the repository at this point in the history
  • Loading branch information
Frazer Smith committed Dec 20, 2020
1 parent 0b2412c commit 105b2f3
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -110,3 +110,13 @@ jobs:
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
parallel-finished: true

automerge:
name: Automatically merge Dependabot pull requests
needs: [macos, ubuntu, windows]
runs-on: ubuntu-latest
steps:
- uses: fastify/github-action-merge-dependabot@v1
if: ${{ github.actor == 'dependabot[bot]' && github.event_name == 'pull_request' }}
with:
github-token: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 105b2f3

Please sign in to comment.