Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ynab/pr-labeler-action
GitHub Action that labels a PR based on the source branch name prefix
https://github.com/ynab/pr-labeler-action
Last synced: 8 days ago
JSON representation
GitHub Action that labels a PR based on the source branch name prefix
- Host: GitHub
- URL: https://github.com/ynab/pr-labeler-action
- Owner: ynab
- License: mit
- Created: 2023-01-25T16:50:04.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2023-01-25T19:35:00.000Z (almost 2 years ago)
- Last Synced: 2024-12-01T19:40:08.624Z (about 1 month ago)
- Language: JavaScript
- Size: 797 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# PR Labeler GitHub Action
GitHub Action that labels a PR based on the source branch name prefix
## Inputs
### `branch_label_mappings`
**Required** A JSON formatted object that maps branch name prefixes to label names.
**Default** `'{"enhancement/":"enhancement","bug/":"bug"}'`
## Example usage
```yaml
uses: ynab/pr-labeler-action@v1
with:
branch_label_mappings: >-
{
"enhancement/":"enhancement",
"bug/":"bug"
}
```