Skip to content

Commit 63554c2

Browse files
authored
chore: add dependabot automerge (#273)
* chore: create dependabot config * chore: remove old dependabot config * Update ci.yml
1 parent c530527 commit 63554c2

File tree

3 files changed

+17
-8
lines changed

3 files changed

+17
-8
lines changed

.dependabot/config.yml

Lines changed: 0 additions & 8 deletions
This file was deleted.

.github/dependabot.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
version: 2
2+
updates:
3+
- package-ecosystem: npm
4+
directory: '/'
5+
schedule:
6+
interval: daily
7+
open-pull-requests-limit: 10
8+

.github/workflows/ci.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,3 +16,12 @@ jobs:
1616
run: npm install --ignore-scripts
1717
- name: Test
1818
run: npm run test
19+
20+
automerge:
21+
needs: test
22+
runs-on: ubuntu-latest
23+
steps:
24+
- uses: fastify/github-action-merge-dependabot@v1
25+
if: ${{ github.actor == 'dependabot[bot]' && github.event_name == 'pull_request' }}
26+
with:
27+
github-token: ${{secrets.github_token}}

0 commit comments

Comments
 (0)