From 4795de72f5849901e02f638d32441a61a77e83d9 Mon Sep 17 00:00:00 2001 From: Dan Stough Date: Mon, 28 Nov 2022 12:29:46 -0500 Subject: [PATCH] [OSS] chore(ci): add auto-approve workflow for consul bot (#15533) --- .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 000000000..7731e4553 --- /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 }}