From d86aa5e5affcd0d85e95844121746bf1706b00bd Mon Sep 17 00:00:00 2001 From: Aditya Jetely Date: Sun, 4 Oct 2020 10:09:38 +0530 Subject: [PATCH] hacktoberfest-accepted labeler --- .github/workflows/hacktoberfest_accepted.yml | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 .github/workflows/hacktoberfest_accepted.yml diff --git a/.github/workflows/hacktoberfest_accepted.yml b/.github/workflows/hacktoberfest_accepted.yml new file mode 100644 index 000000000..c9cffca5f --- /dev/null +++ b/.github/workflows/hacktoberfest_accepted.yml @@ -0,0 +1,13 @@ +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: "hacktoberfest-accepted" \ No newline at end of file