Skip to content

Commit

Permalink
chore: add dependabot auto merge (#117)
Browse files Browse the repository at this point in the history
* Create dependabot.yml

* Delete config.yml

* Update ci.yml
  • Loading branch information
salmanm authored Nov 18, 2020
1 parent 348f320 commit f67331f
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 5 deletions.
5 changes: 0 additions & 5 deletions .dependabot/config.yml

This file was deleted.

7 changes: 7 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
version: 2
updates:
- package-ecosystem: npm
directory: '/'
schedule:
interval: daily
open-pull-requests-limit: 10
9 changes: 9 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,3 +16,12 @@ jobs:
run: npm install --ignore-scripts
- name: Test
run: npm test

automerge:
needs: test
runs-on: ubuntu-latest
steps:
- uses: fastify/github-action-merge-dependabot@v1
if: ${{ github.actor == 'dependabot[bot]' && github.event_name == 'pull_request' }}
with:
github-token: ${{secrets.github_token}}

0 comments on commit f67331f

Please sign in to comment.