From f8378ba0f7d59d43c625965b9eb64c179564abc3 Mon Sep 17 00:00:00 2001 From: Jaco Date: Wed, 23 Feb 2022 11:00:15 +0100 Subject: [PATCH] Use jacogr/action-approve (#4595) --- .github/mergify.yml | 9 --------- .github/workflows/approve.yml | 14 ++++++++++++++ 2 files changed, 14 insertions(+), 9 deletions(-) create mode 100644 .github/workflows/approve.yml diff --git a/.github/mergify.yml b/.github/mergify.yml index 23c78404f2..4a4854aa49 100644 --- a/.github/mergify.yml +++ b/.github/mergify.yml @@ -23,12 +23,3 @@ pull_request_rules: queue: name: default method: squash - - - name: auto approval - conditions: - - author~=^jacogr$ - - label=automerge - actions: - review: - type: APPROVE - message: This auto-approval rule should be removed once more JS maintainers are active. diff --git a/.github/workflows/approve.yml b/.github/workflows/approve.yml new file mode 100644 index 0000000000..6a55562cb4 --- /dev/null +++ b/.github/workflows/approve.yml @@ -0,0 +1,14 @@ +name: PR + +on: pull_request + +jobs: + auto-approve: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + - uses: jacogr/action-approve@master + with: + authors: jacogr + labels: automerge + token: ${{ secrets.GH_PAT_BOT }}