chore: create auto-merge for dependabot PRs
This commit is contained in:
parent
de88bc221a
commit
14076ae550
1 changed files with 13 additions and 0 deletions
13
.github/workflows/auto-merge.yml
vendored
Normal file
13
.github/workflows/auto-merge.yml
vendored
Normal file
|
@ -0,0 +1,13 @@
|
||||||
|
name: Auto-Merge
|
||||||
|
on:
|
||||||
|
pull_request_target
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
enable-auto-merge:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
|
if: github.event.pull_request.user.login == 'dependabot[bot]' && contains(github.event.pull_request.labels.*.name, 'dependencies')
|
||||||
|
steps:
|
||||||
|
- uses: alexwilson/enable-github-automerge-action@main
|
||||||
|
with:
|
||||||
|
github-token: "${{ secrets.GITHUB_TOKEN }}"
|
Loading…
Reference in a new issue