summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Estabrook <jestabro@vyos.io>2022-12-01 08:35:10 -0600
committerJohn Estabrook <jestabro@vyos.io>2022-12-01 08:35:10 -0600
commite96e629fab3936c894214bef44155cb1bc671e4c (patch)
tree87b40ee77551cfd02b91585109efbe6fc06f9cf3
parent33c0d77bfa10c81dfc93c4eca781279df9cf1034 (diff)
downloadvyos-1x-e96e629fab3936c894214bef44155cb1bc671e4c.tar.gz
vyos-1x-e96e629fab3936c894214bef44155cb1bc671e4c.zip
ci: T4748: add hyphen and underscore for subject name
-rwxr-xr-xscripts/check-pr-title-and-commit-messages.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/check-pr-title-and-commit-messages.py b/scripts/check-pr-title-and-commit-messages.py
index 3317745d6..9801b7456 100755
--- a/scripts/check-pr-title-and-commit-messages.py
+++ b/scripts/check-pr-title-and-commit-messages.py
@@ -7,7 +7,7 @@ import requests
from pprint import pprint
# Use the same regex for PR title and commit messages for now
-title_regex = r'^(([a-zA-Z.]+:\s)?)T\d+:\s+[^\s]+.*'
+title_regex = r'^(([a-zA-Z\-_.]+:\s)?)T\d+:\s+[^\s]+.*'
commit_regex = title_regex
def check_pr_title(title):