labeler icon indicating copy to clipboard operation
labeler copied to clipboard

Apply labels based on branch name

Open joshdales opened this issue 3 years ago • 1 comments

Hi there! At my work we usually include the type of work in our branch name eg. feature/whatever-this-branch-does.

Wondering if if would be possible to add the option to add labels based on the branch name as well as the files have changed?

Maybe something like this:

feature:
- branch: 'feature/*

to apply the feature label to a matching branch.

joshdales avatar Jul 16 '21 15:07 joshdales

Something like this https://github.com/TimonVS/pr-labeler-action

androideveloper avatar Jul 19 '21 15:07 androideveloper

Hello everyone! We released the new alpha version of the action that includes the implementation of this feature. For more information, see the release notes. We would really appreciate it if you could try it out and provide us with your feedback.

I will keep this issue open until the stable version is released. Thank you!

MaksimZhukov avatar May 24 '23 12:05 MaksimZhukov

Hello everyone! We have released the new major version of the action with this feature on board. Thank you all for your patience!

@joshdales, thank you for implementing this feature! We really appreciate it!

MaksimZhukov avatar Dec 05 '23 20:12 MaksimZhukov