Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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

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"
}
```