Added auto-merge workflow for dependabot

This commit is contained in:
James Mills 2020-01-26 13:59:46 +10:00
parent ccf2517b8f
commit 35318126b7
No known key found for this signature in database
GPG Key ID: AC4C014F1440EBD6
2 changed files with 40 additions and 0 deletions

@ -0,0 +1,26 @@
name: Auto merge Dependabot updates
on:
check_suite:
types:
- completed
pull_request:
types:
- edited
- labeled
- opened
- ready_for_review
- reopened
- synchronize
- unlabeled
- unlocked
jobs:
auto-merge:
name: Auto merge
runs-on: ubuntu-latest
steps:
- name: Auto merge
uses: ridedott/dependabot-auto-merge-action@master
with:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

@ -20,3 +20,17 @@ jobs:
run: go build -v .
- name: Test
run: go test -v -race .
auto-merge:
name: Auto merge
runs-on: ubuntu-latest
needs:
- all
- other
- required
- jobs
steps:
- name: Auto merge
uses: ridedott/dependabot-auto-merge-action@master
with:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}