diff --git a/tools/changelog/check_changelog.py b/tools/changelog/check_changelog.py index ca5984c5bfa5..39e9841be100 100644 --- a/tools/changelog/check_changelog.py +++ b/tools/changelog/check_changelog.py @@ -109,7 +109,6 @@ print("CL has invalid tags!") print("Valid tags are:") print(*tags['tags'].keys(), sep=", ") - exit(1) if write_cl['changes']: print("CL OK!") @@ -118,7 +117,6 @@ pr.remove_from_labels(CL_INVALID) if not has_valid_label: pr.add_to_labels(CL_VALID) - exit(0) else: print("No CL changes detected!") # add invalid, remove valid @@ -126,4 +124,5 @@ pr.add_to_labels(CL_INVALID) if has_valid_label: pr.remove_from_labels(CL_VALID) - exit(0) + +exit(0)