A GitHub Action to add/remove a label when a pull request is reviewed.
Create a workflow (eg: .github/workflows/label-approved.yml
see Creating a Workflow file) to utilize the label-when-approved action with content:
name: Label approved PR
on: pull_request_review
jobs:
triage:
runs-on: ubuntu-latest
steps:
# …
- uses: ableco/label-when-approved-action@main
with:
approvals: 2
add-label: delivered
Contributions are welcome. Please check out the Contributing guide for the guidelines you need to follow.
Please read our Code of Conduct so that you can understand the kind of respectful behavior we expect of all participants.
Open Source Project is released under the MIT license. See LICENSE for the full license text.