Backport of [OSS] chore(ci): add auto-approve workflow for consul bot into release/1.14.x (#15569)

This pull request was automerged via backport-assistant
pull/15572/head
hc-github-team-consul-core 2022-11-28 12:30:22 -05:00 committed by GitHub
parent d8188b4785
commit 223fe18925
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 }}