Able to specify custom regex pattern for commit message (OD-2673)
Hugo "Petra" opened 6 days ago

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

  • Robin Shen commented 6 days ago

    This is not supported currently. Converted as an improvement request.

  • Robin Shen changed fields 6 days ago
    Name Previous Value Current Value
    Type
    Question
    Improvement
  • Robin Shen changed title 6 days ago
    Previous Value Current Value
    Commit message custom validation
    Able to specify custom regex pattern for commit message
issue 1/1
Type
Improvement
Priority
Normal
Assignee
Labels
No labels
Issue Votes (0)
Watchers (2)
Reference
OD-2673
Please wait...
Connection lost or session expired, reload to recover
Page is in error, reload to recover