Skip to content

Commit

Permalink
Fix: actual cl failing tests fix (#210)
Browse files Browse the repository at this point in the history
  • Loading branch information
Furrior authored Sep 20, 2023
1 parent c96a98c commit 1300270
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions tools/changelog/check_changelog.py
Original file line number Diff line number Diff line change
Expand Up @@ -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!")
Expand All @@ -118,12 +117,12 @@
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
if not has_invalid_label:
pr.add_to_labels(CL_INVALID)
if has_valid_label:
pr.remove_from_labels(CL_VALID)
exit(0)

exit(0)

0 comments on commit 1300270

Please sign in to comment.