Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ableco/label-when-approved-action
GitHub Action to add/remove a label when a pull request is reviewed
https://github.com/ableco/label-when-approved-action
actions github-actions
Last synced: about 1 month ago
JSON representation
GitHub Action to add/remove a label when a pull request is reviewed
- Host: GitHub
- URL: https://github.com/ableco/label-when-approved-action
- Owner: ableco
- Created: 2021-06-01T17:54:59.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2024-02-12T05:40:24.000Z (9 months ago)
- Last Synced: 2024-09-30T23:41:52.979Z (about 2 months ago)
- Topics: actions, github-actions
- Language: TypeScript
- Homepage:
- Size: 120 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
Awesome Lists containing this project
README
# 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](https://help.github.com/en/articles/configuring-a-workflow#creating-a-workflow-file)) to utilize the label-when-approved action with content:
```yaml
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](CONTRIBUTING.md) for the guidelines you need to follow.
Please read our [Code of Conduct](CODE_OF_CONDUCT.md) 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](LICENSE) for the full license text.