diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 202a022..7a43058 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -46,6 +46,20 @@ jobs: run: npm install - name: Run tests run: npm run test + automerge: + if: > + github.event_name == 'pull_request' && github.event.pull_request.user.login == 'dependabot[bot]' + needs: + - test + runs-on: ubuntu-latest + permissions: + contents: write + pull-requests: write + steps: + - name: Merge Dependabot PR + uses: fastify/github-action-merge-dependabot@c3bde0759d4f24db16f7b250b2122bc2df57e817 # v3.11.0 + with: + github-token: ${{ secrets.GITHUB_TOKEN }} nsci: runs-on: ubuntu-latest strategy: