Skip to content

Commit

Permalink
Add auto merge
Browse files Browse the repository at this point in the history
  • Loading branch information
bcomnes authored Mar 1, 2021
1 parent 7b7bb8f commit e598066
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 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 @@ -26,5 +26,15 @@ jobs:
- run: npm test
- run: npm run lcov
- uses: codecov/codecov-action@v1
if: ${{ github.event_name == 'pull_request' }}
with:
flags: ${{ matrix.os }}-${{ matrix.node }}

automerge:
needs: test
runs-on: ubuntu-latest
steps:
- uses: fastify/[email protected]
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 e598066

Please sign in to comment.