Skip to content

Commit bbbfa82

Browse files
authored
chore: add dependabot automerge (#43)
* chore: create dependabot config * chore: remove old dependabot config * Update ci.yml
1 parent 81f26ea commit bbbfa82

File tree

3 files changed

+17
-5
lines changed

3 files changed

+17
-5
lines changed

.dependabot/config.yml

Lines changed: 0 additions & 5 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
@@ -18,3 +18,12 @@ jobs:
1818
run: npm run lint-ci
1919
- name: Test
2020
run: npm run test-ci
21+
22+
automerge:
23+
needs: test
24+
runs-on: ubuntu-latest
25+
steps:
26+
- uses: fastify/github-action-merge-dependabot@v1
27+
if: ${{ github.actor == 'dependabot[bot]' && github.event_name == 'pull_request' }}
28+
with:
29+
github-token: ${{secrets.github_token}}

0 commit comments

Comments
 (0)