Skip to content

Commit 6fde5d8

Browse files
committed
fix(workflow): fail on no entry
1 parent 4ac6365 commit 6fde5d8

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

src/main.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,4 +67,8 @@ def authenticate(repo: str) -> tuple[Github, Repository.Repository]:
6767
args.commit_message,
6868
dry_run=args.dry_run)
6969

70-
changelogger.create_new_changelog_entry()
70+
if changelogger.create_new_changelog_entry():
71+
print("Changelog entry created.")
72+
else:
73+
print("Error, while trying to create new changelog entry.")
74+
exit(1)

0 commit comments

Comments
 (0)