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