From 223fe1892547bfd747bb179c9f88981b384c2a4e Mon Sep 17 00:00:00 2001 From: hc-github-team-consul-core Date: Mon, 28 Nov 2022 12:30:22 -0500 Subject: [PATCH] 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 --- .github/workflows/bot-auto-approve.yaml | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 .github/workflows/bot-auto-approve.yaml diff --git a/.github/workflows/bot-auto-approve.yaml b/.github/workflows/bot-auto-approve.yaml new file mode 100644 index 0000000000..7731e4553c --- /dev/null +++ b/.github/workflows/bot-auto-approve.yaml @@ -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 }}