Skip to content

Commit

Permalink
Add automerge
Browse files Browse the repository at this point in the history
  • Loading branch information
bcomnes committed Mar 1, 2021
1 parent 42defc8 commit 5d7e97d
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: tests

on: [push]
on: [pull_request, push]

jobs:
test:
Expand All @@ -19,3 +19,12 @@ jobs:
node-version: ${{ matrix.node-version }}
- run: npm i
- run: npm test

automerge:
needs: test
runs-on: ubuntu-latest
steps:
- uses: fastify/github-action-merge-dependabot@v1.1.1
if: ${{ github.actor == 'dependabot[bot]' && github.event_name == 'pull_request' && contains(github.head_ref, 'dependabot/github_actions') }}
with:
github-token: ${{secrets.github_token}}

0 comments on commit 5d7e97d

Please sign in to comment.