From 73e547c58986efe450d1311ac15f8c86ccd3cd83 Mon Sep 17 00:00:00 2001 From: madhuredra Date: Sat, 23 Sep 2023 23:37:38 +0530 Subject: [PATCH] added latest version of it --- .github/workflows/approved-label.yml | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/approved-label.yml b/.github/workflows/approved-label.yml index 556419d..77e2247 100644 --- a/.github/workflows/approved-label.yml +++ b/.github/workflows/approved-label.yml @@ -1,14 +1,14 @@ on: pull_request_review -name: Add "approved" label when approved +name: Label approved pull requests jobs: - add_label: - name: Add "approved" label when approved + labelWhenApproved: + name: Label when approved runs-on: ubuntu-latest steps: - - name: Add "approved" label when approved - uses: pullreminders/label-when-approved-action@main + - name: Label when approved + uses: abinoda/label-when-approved-action@1.0.5 env: - APPROVALS: "1" + APPROVALS: "2" GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} ADD_LABEL: "approved" - REMOVE_LABEL: "" \ No newline at end of file + REMOVE_LABEL: "awaiting%20review" \ No newline at end of file