Label approved pull requests #1423
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Label approved pull requests | |
on: pull_request_review | |
jobs: | |
labelWhenApproved: | |
name: Label when approved | |
runs-on: ubuntu-20.04 | |
timeout-minutes: 5 | |
steps: | |
- name: Label when approved | |
uses: pullreminders/label-when-approved-action@master | |
env: | |
APPROVALS: "1" | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
ADD_LABEL: "ready to merge" | |
REMOVE_LABEL: "pending%20final%20review" |