From f3417b3d814e04dda236f3862ac4158c59933a3b Mon Sep 17 00:00:00 2001 From: Ingo Fischer Date: Tue, 31 Oct 2023 10:59:25 +0100 Subject: [PATCH] Create auto-approve-release.yml (#465) --- .github/workflows/auto-approve-release.yml | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 .github/workflows/auto-approve-release.yml diff --git a/.github/workflows/auto-approve-release.yml b/.github/workflows/auto-approve-release.yml new file mode 100644 index 0000000000..5d19919c21 --- /dev/null +++ b/.github/workflows/auto-approve-release.yml @@ -0,0 +1,17 @@ +name: Auto approve release PRs + +on: + pull_request: + types: [labeled] + +jobs: + auto-approve: + if: | + github.actor == 'Automator77' && + github.event.label.name == 'automated pr' + + runs-on: ubuntu-latest + steps: + - uses: hmarr/auto-approve-action@v3 + with: + github-token: ${{ secrets.APPROVE_TOKEN }}