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 there.
Just started using this action so if I'm doing something silly please let me know but I can't seem to get valid parenthesis-related regex statements working in my labeler.yml.
PR title is: "build(deps): apply minor and patch dependency updates test" - we use both "^build(deps): ." and "^build(dev-deps): ." commit and PR title tags and I'd like to catch both and apply a "dependencies" label.
The following labeler.yml catches that PR title and succesfully applies the label:
However, to use parentheses I am obviously going to have to escape them. \( isn't valid YAML so I went for \x28 instead and came up with the following valid regex:
title: "^build\x28(deps|deps-dev)\x29: .*"
However, the action then does nothing - officially passed but gives no useful logging output and doesn't apply the label.
Is there a debug flag for getting useful logging? And should valid regex like this work?
Any help much appreciated.
The text was updated successfully, but these errors were encountered:
Hi there.
Just started using this action so if I'm doing something silly please let me know but I can't seem to get valid parenthesis-related regex statements working in my labeler.yml.
PR title is: "build(deps): apply minor and patch dependency updates test" - we use both "^build(deps): ." and "^build(dev-deps): ." commit and PR title tags and I'd like to catch both and apply a "dependencies" label.
The following labeler.yml catches that PR title and succesfully applies the label:
However, to use parentheses I am obviously going to have to escape them.
\(
isn't valid YAML so I went for\x28
instead and came up with the following valid regex:However, the action then does nothing - officially passed but gives no useful logging output and doesn't apply the label.
Is there a debug flag for getting useful logging? And should valid regex like this work?
Any help much appreciated.
The text was updated successfully, but these errors were encountered: