From e95b2b3a311c11aa7a114d96f773013eef154f52 Mon Sep 17 00:00:00 2001 From: Bret <166301+bcomnes@users.noreply.github.com> Date: Mon, 28 Dec 2020 15:34:38 -0700 Subject: [PATCH] Update test.yml --- .github/workflows/test.yml | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 8f4c60d..a79c08d 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -1,6 +1,6 @@ name: tests -on: [push] +on: [push, pull_request] jobs: test: @@ -21,5 +21,12 @@ jobs: run: | npm i npm test - env: - CI: true + + 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}}