PR Assign Label #6141
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: PR Assign Label | |
# auto label pr who is approved by 2 guys. | |
env: | |
LABEL: pr/approved,pr/need-release-label | |
on: pull_request_review | |
jobs: | |
labelWhenApproved: | |
name: Label when approved | |
runs-on: ubuntu-latest | |
steps: | |
# https://github.com/abinoda/label-when-approved-action | |
- name: Label when approved | |
uses: pullreminders/[email protected] | |
env: | |
APPROVALS: "2" | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
ADD_LABEL: ${{ env.LABEL }} | |
# REMOVE_LABEL: "..." |