Skip to content

GitHub Action that labels a PR based on the source branch name prefix

License

Notifications You must be signed in to change notification settings

ynab/pr-labeler-action

Use this GitHub action with your project
Add this Action to an existing workflow or create a new one
View on Marketplace

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

uses: ynab/pr-labeler-action@v1
with:
  branch_label_mappings: >-
    {
      "enhancement/":"enhancement",
      "bug/":"bug"
    }

About

GitHub Action that labels a PR based on the source branch name prefix

Resources

License

Stars

Watchers

Forks

Packages

No packages published