Added auto-merge workflow for dependabot
This commit is contained in:
parent
ccf2517b8f
commit
35318126b7
26
.github/workflows/dependabot-auto-merge.yml
vendored
Normal file
26
.github/workflows/dependabot-auto-merge.yml
vendored
Normal file
@ -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 }}
|
14
.github/workflows/go.yml
vendored
14
.github/workflows/go.yml
vendored
@ -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 }}
|
||||
|
Loading…
Reference in New Issue
Block a user