We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 763807b commit e1444e7Copy full SHA for e1444e7
.tools/readmes/runner.py
@@ -190,7 +190,10 @@ def writeme(
190
print(failed_list)
191
print("Rerun writeme.py to update README links and sections.")
192
print("WRITEME Run completed.")
193
- return len(failed)
+ fail_count = len(failed)
194
+ if fail_count > 0:
195
+ raise typer.Exit(code=fail_count) # Return a non-zero code through typer so Github check will fail.
196
+ return fail_count
197
198
199
def make_diff(renderer, id):
0 commit comments