-
This is not supported currently. Converted as an improvement request.
-
Name Previous Value Current Value Type
Question
Improvement
-
Previous Value Current Value Commit message custom validation
Able to specify custom regex pattern for commit message
-
State changed as code fixing the issue is committed (303f7c43)
-
OneDev
changed state to 'Closed' 5 months ago
Previous Value Current Value Open
Closed
| Type |
Improvement
|
| Priority |
Normal
|
| Assignee | |
| Labels |
No labels
|
Issue Votes (0)
Hi @robin,
I want to enforce a specific Regex on the commit message that lands on main (e.g. ensuring it contains fix #issue_id). Is there a way, via Branch Protection Rules (Groovy script?), to enforce a regex specifically on commits landing on a protected branch?
Thanks for your help! Hugo