auto enable auto merge

This commit is contained in:
Rick Farina (Zero_Chaos) 2024-05-01 23:10:36 -04:00
parent 3c410ec3b5
commit badaaed164
No known key found for this signature in database
GPG key ID: A29433C0AA431DDC

15
.github/workflows/auto-merge-enable.yml vendored Normal file
View file

@ -0,0 +1,15 @@
name: Auto-Merge
on:
pull_request_target:
types: [labeled]
jobs:
enable-auto-merge:
runs-on: ubuntu-latest
# Specifically check that dependabot (or another trusted party) created this pull-request, and that it has been labelled correctly.
if: github.event.pull_request.user.login == 'blshkv' || github.event.pull_request.user.login == 'ZeroChaos-'
steps:
- uses: alexwilson/enable-github-automerge-action@main
with:
github-token: "${{ secrets.GITHUB_TOKEN }}"