summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorDaniil Baturin <daniil@baturin.org>2022-12-30 19:59:04 +0000
committerDaniil Baturin <daniil@baturin.org>2022-12-30 20:00:56 +0000
commit34e7cb6739c9096bcdc4096822f847eb686c4a68 (patch)
tree6edff2ec2b15808869973f22edf23be692817460 /scripts
parentf93896016d15ee68e0f319028ecb6960d16e3bff (diff)
downloadvyos-1x-34e7cb6739c9096bcdc4096822f847eb686c4a68.tar.gz
vyos-1x-34e7cb6739c9096bcdc4096822f847eb686c4a68.zip
T4748: Clarify the invalid PR object message
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/check-pr-title-and-commit-messages.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/scripts/check-pr-title-and-commit-messages.py b/scripts/check-pr-title-and-commit-messages.py
index 9801b7456..07540b22c 100755
--- a/scripts/check-pr-title-and-commit-messages.py
+++ b/scripts/check-pr-title-and-commit-messages.py
@@ -30,6 +30,7 @@ if __name__ == '__main__':
# Get the pull request object
pr = requests.get(sys.argv[1]).json()
if "title" not in pr:
+ print("The PR object does not have a title field!")
print("Did not receive a valid pull request object, please check the URL!")
sys.exit(1)