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 }}