Skip to content

Commit

Permalink
Automerge dependabot actions updates
Browse files Browse the repository at this point in the history
This way trivial actions updates just land, and nobody has to do anything
  • Loading branch information
bcomnes authored Jan 16, 2021
1 parent 315c638 commit 16d884d
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: [push, pull_request]

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/[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 16d884d

Please sign in to comment.