diff --git a/.github/workflows/approval-workflow.yml b/.github/workflows/approval-workflow.yml index 8f732c2..8dde35d 100644 --- a/.github/workflows/approval-workflow.yml +++ b/.github/workflows/approval-workflow.yml @@ -2,4 +2,14 @@ name: Team awesome's approval workflow on: pull_request_review 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" +