Label approved pull requests #67
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
on: pull_request_review | |
name: Label approved pull requests | |
jobs: | |
labelWhenApproved: | |
if: ${{ github.repository_owner == 'armbian' }} | |
name: Label when approved | |
runs-on: ubuntu-latest | |
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: "Needs%20review" |