Skip to content

Commit 2a6d7a7

Browse files
ci: automatically merge dependabot PR (#181)
1 parent 984bb7c commit 2a6d7a7

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

.github/workflows/node.js.yml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,3 +33,17 @@ jobs:
3333
run: npm run build
3434
- name: Run tests
3535
run: npm run test
36+
automerge:
37+
if: >
38+
github.event_name == 'pull_request' && github.event.pull_request.user.login == 'dependabot[bot]'
39+
needs:
40+
- test
41+
runs-on: ubuntu-latest
42+
permissions:
43+
contents: write
44+
pull-requests: write
45+
steps:
46+
- name: Merge Dependabot PR
47+
uses: fastify/github-action-merge-dependabot@c3bde0759d4f24db16f7b250b2122bc2df57e817 # v3.11.0
48+
with:
49+
github-token: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)