Skip to content

Commit

Permalink
github: automation: Enable using third_party as commit scope
Browse files Browse the repository at this point in the history
  • Loading branch information
kealan-barbieri committed Jan 24, 2025
1 parent f3ceb3d commit 30603e7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/automation/commit-msg-check.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
def __scopeCheck(msg: str):
status = "Message scope: "

if not re.match('^[a-z0-9]+(, [a-z0-9]+)*: ', msg):
if not re.match('^[a-z0-9_]+(, [a-z0-9]+)*: ', msg):
print(f"{status} FAILED: Commit message must follow the format "
"<scope>:[ <scope>:] <short description>")
return False
Expand Down

0 comments on commit 30603e7

Please sign in to comment.