chore: create auto-merge for dependabot PRs

This commit is contained in:
Enrico Stahn 2022-03-30 20:58:38 +11:00 committed by GitHub
parent de88bc221a
commit 14076ae550
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

13
.github/workflows/auto-merge.yml vendored Normal file
View 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 }}"