ci: do not treat message parts as xml
Signed-off-by: Anas Nashif <anas.nashif@intel.com>
This commit is contained in:
parent
c24b77f84f
commit
789d51c4aa
1 changed files with 1 additions and 1 deletions
|
@ -76,7 +76,7 @@ class TitleStartsWithSubsystem(LineRule):
|
||||||
def validate(self, title, _commit):
|
def validate(self, title, _commit):
|
||||||
regex = self.options['regex'].value
|
regex = self.options['regex'].value
|
||||||
pattern = re.compile(regex, re.UNICODE)
|
pattern = re.compile(regex, re.UNICODE)
|
||||||
violation_message = "Title does not follow <subsystem>: <subject>"
|
violation_message = "Title does not follow [subsystem]: [subject]"
|
||||||
if not pattern.search(title):
|
if not pattern.search(title):
|
||||||
return [RuleViolation(self.id, violation_message, title)]
|
return [RuleViolation(self.id, violation_message, title)]
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue