ci: add dependabot and automerge job to make deps always up to date

This commit is contained in:
LongYinan
2020-08-29 23:25:13 +08:00
committed by hangzou
parent 122c88c60c
commit 4d94c9712b
2 changed files with 26 additions and 0 deletions

View File

@@ -24,3 +24,14 @@ jobs:
run: yarn lint
- name: Test
run: yarn test
dependabot:
needs:
- Test
runs-on: ubuntu-latest
steps:
- name: auto-merge
uses: ridedott/dependabot-auto-merge-action@master
with:
GITHUB_LOGIN: dependabot[bot]
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}