Control Freak - Jira Policy Exemption to Ignore commit message... not working for hotfix branch
Issue #151
new
We have a policy in place that all commit messages must contain a reference to Jira ID (which are not further validated at this moment). Also there is an exemption defined for commit messages ending with [NO-JIRA] tag. The policy has been turned on for all types of branches.
This works well for master branch, but as soon as the commit is cherry-picked to a hotfix branch (with the same message), the Control Freak rejects it due to the missing Jira ticket reference - despite the [NO-JIRA] tag at the end.
The only way to make this work is to turn off the policy for hotfix branches.
Comments (1)
-
repo owner - Log in to comment
Hmm, sounds like a bug in the “[NO-JIRA]” handling. I’ll try to replicate this…
Meanwhile we’re also cooking up an idea to let commits through if they are patch-identical to commits that already got through (as long as the commit message is also identical).