From 725f105df2bdb4b22bf4f15958f8e7535c7d0c09 Mon Sep 17 00:00:00 2001 From: Bennettheyn <54649082+Bennettheyn@users.noreply.github.com> Date: Thu, 28 Apr 2022 15:09:19 -0400 Subject: [PATCH] create action --- test-PR | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 test-PR diff --git a/test-PR b/test-PR new file mode 100644 index 0000000..8676694 --- /dev/null +++ b/test-PR @@ -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"