From e6f5b3f161e38bb6920117a69e05207c98c75830 Mon Sep 17 00:00:00 2001 From: Jaco Date: Wed, 23 Feb 2022 11:00:07 +0100 Subject: [PATCH] Use jacogr/action-approve (#616) --- .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 23c78404..4a4854aa 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 00000000..6a55562c --- /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 }}