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