[OSS] chore(ci): add auto-approve workflow for consul bot (#15533)

This commit is contained in:
Dan Stough 2022-11-28 12:29:46 -05:00 committed by GitHub
parent 0d23452578
commit 4795de72f5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 13 additions and 0 deletions

13
.github/workflows/bot-auto-approve.yaml vendored Normal file
View File

@ -0,0 +1,13 @@
name: Bot Auto Approve
on: pull_request_target
jobs:
auto-approve:
runs-on: ubuntu-latest
if: github.actor == 'hc-github-team-consul-core'
steps:
- uses: hmarr/auto-approve-action@v3
with:
review-message: "Auto approved Consul Bot automated PR"
github-token: ${{ secrets.MERGE_APPROVE_TOKEN }}