mirror of
https://github.com/vyos/vyos-build.git
synced 2025-10-01 20:28:40 +02:00
T6238: Fix title check commit message should for f-string
Fix
```
Commit title '{title}' does not match the required format!
```
This commit is contained in:
parent
eeb1a98a77
commit
2233e4687b
@ -20,7 +20,7 @@ def check_pr_title(title):
|
||||
|
||||
def check_commit_message(title):
|
||||
if not re.match(commit_regex, title):
|
||||
print("Commit title '{title}' does not match the required format!")
|
||||
print(f"Commit title '{title}' does not match the required format!")
|
||||
print("Valid title example: T99999: make IPsec secure")
|
||||
sys.exit(1)
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user