Skip to content

Commit

Permalink
ci: automatically merge dependabot PR (#272)
Browse files Browse the repository at this point in the history
  • Loading branch information
fraxken authored Jan 3, 2025
1 parent 6c054ee commit 14bdb2c
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 14bdb2c

Please sign in to comment.