You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi! I am experimenting with this action, but I'm having troubles while extracting the labels from my PR titles. I have the following naming convention: <type>: <title>. Some examples: feat: Add new button to menu, fix: Remove line causing bug. What could be the right pattern for my case?
Replace uses the title and replaces the section matched by the regex with the target.
In your case you want to use match instead though, which doesn't need a target and instead extracts the label from the title. ( It does: onValue.match(extractor.pattern))
So to solve your setup you want to adjust the transformers to:
Thank you @mikepenz, it is working now. I also ran the tests and it is looking good. Now I am going to work on my transformers so I can get rid of the type of the PRs in the change log.
Hi! I am experimenting with this action, but I'm having troubles while extracting the labels from my PR titles. I have the following naming convention:
<type>: <title>
. Some examples:feat: Add new button to menu
,fix: Remove line causing bug
. What could be the right pattern for my case?Here is my current configuration:
I have tried several patterns but none seems to work (I'm new with regex).
Thanks in advance.
The text was updated successfully, but these errors were encountered: