Skip to content
Merged
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion .tools/readmes/runner.py
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,10 @@ def writeme(
print(failed_list)
print("Rerun writeme.py to update README links and sections.")
print("WRITEME Run completed.")
return len(failed)
fail_count = len(failed)
if fail_count > 0:
raise typer.Exit(code=fail_count) # Return a non-zero code through typer so Github check will fail.
return fail_count


def make_diff(renderer, id):
Expand Down
Loading