Skip to content

Commit

Permalink
ci: automatically merge dependabot PR (#160)
Browse files Browse the repository at this point in the history
  • Loading branch information
fraxken authored Jan 3, 2025
1 parent 073bb9d commit 9800235
Showing 1 changed file with 16 additions and 3 deletions.
19 changes: 16 additions & 3 deletions .github/workflows/node.js.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,7 @@ permissions:
contents: read

jobs:
build:

test:
runs-on: ubuntu-latest

strategy:
Expand All @@ -29,5 +28,19 @@ jobs:
with:
node-version: ${{ matrix.node-version }}
- run: npm ci
- run: npm run build --if-present
- run: npm run build
- run: npm 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 }}

0 comments on commit 9800235

Please # to comment.