Skip to content
This repository was archived by the owner on Aug 14, 2024. It is now read-only.

Commit 3e9944c

Browse files
authored
ci(nodejs): automatically merge dependabot PR (#186)
1 parent 7cbcb6d commit 3e9944c

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

.github/workflows/main.yml

+14
Original file line numberDiff line numberDiff line change
@@ -30,3 +30,17 @@ jobs:
3030
run: npm ci
3131
- name: Run tests
3232
run: npm run test
33+
automerge:
34+
if: >
35+
github.event_name == 'pull_request' && github.event.pull_request.user.login == 'dependabot[bot]'
36+
needs:
37+
- test
38+
runs-on: ubuntu-latest
39+
permissions:
40+
contents: write
41+
pull-requests: write
42+
steps:
43+
- name: Merge Dependabot PR
44+
uses: fastify/github-action-merge-dependabot@9e7bfb249c69139d7bdcd8d984f9665edd49020b # v3.10.1
45+
with:
46+
github-token: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)