From 06c5c96f4004085fa4a9758acca17d870cd3bc85 Mon Sep 17 00:00:00 2001 From: Om Kiran Kar <91785464+OmKiranKar@users.noreply.github.com> Date: Wed, 24 Nov 2021 21:36:06 +0530 Subject: [PATCH] Create okk --- okk | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 okk diff --git a/okk b/okk new file mode 100644 index 0000000..8676694 --- /dev/null +++ b/okk @@ -0,0 +1,14 @@ +on: pull_request_review +name: Label approved pull requests +jobs: + labelWhenApproved: + name: Label when approved + runs-on: ubuntu-latest + steps: + - name: Label when approved + uses: pullreminders/label-when-approved-action@master + env: + APPROVALS: "2" + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + ADD_LABEL: "approved" + REMOVE_LABEL: "awaiting%20review"