Skip to content

Commit

Permalink
Update tools/changelog/check_changelog.py
Browse files Browse the repository at this point in the history
Co-authored-by: Mikhail Dzianishchyts <[email protected]>
  • Loading branch information
dj-34 and m-dzianishchyts authored Oct 14, 2024
1 parent 5fb9ed1 commit 3d2f293
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions tools/changelog/check_changelog.py
Original file line number Diff line number Diff line change
Expand Up @@ -164,6 +164,9 @@ def parse_changelog(message: str) -> dict:
try:
cl = build_changelog(pr)
if cl is None:
pr.remove_from_labels(CL_INVALID)
pr.remove_from_labels(CL_VALID)
pr.add_to_labels(CL_NOT_NEEDED)
exit(0)

cl_emoji = emojify_changelog(cl)
Expand Down

0 comments on commit 3d2f293

Please sign in to comment.