diff options
author | John Estabrook <jestabro@vyos.io> | 2022-12-01 08:35:10 -0600 |
---|---|---|
committer | John Estabrook <jestabro@vyos.io> | 2022-12-01 08:35:10 -0600 |
commit | e96e629fab3936c894214bef44155cb1bc671e4c (patch) | |
tree | 87b40ee77551cfd02b91585109efbe6fc06f9cf3 | |
parent | 33c0d77bfa10c81dfc93c4eca781279df9cf1034 (diff) | |
download | vyos-1x-e96e629fab3936c894214bef44155cb1bc671e4c.tar.gz vyos-1x-e96e629fab3936c894214bef44155cb1bc671e4c.zip |
ci: T4748: add hyphen and underscore for subject name
-rwxr-xr-x | scripts/check-pr-title-and-commit-messages.py | 2 |
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): |