Skip to content

GitHub Action to add/remove a label when a pull request is reviewed

Notifications You must be signed in to change notification settings

ableco/label-when-approved-action

Repository files navigation

Label when approved

A GitHub Action to add/remove a label when a pull request is reviewed.

Usage

Create Workflow

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

Contributing

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.

License

Open Source Project is released under the MIT license. See LICENSE for the full license text.

About

GitHub Action to add/remove a label when a pull request is reviewed

Topics

Resources

Code of conduct

Stars

Watchers

Forks

Packages

No packages published