Skip to content

Commit d6756ac

Browse files
authored
chore(ci): enable auto merge for pull request (#451)
1 parent e34daa3 commit d6756ac

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

.github/workflows/nodejs.yml

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

0 commit comments

Comments
 (0)