name: Label approved pull requests 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@v1.0.7 env: APPROVALS: "2" GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} ADD_LABEL: "approved-2" REMOVE_LABEL: "awaiting%20review"