ci: fail docs gate on unclassified markdownlint errors
This commit is contained in:
parent
bc3b6c6aee
commit
6e855cdcf1
1 changed files with 5 additions and 0 deletions
|
|
@ -170,6 +170,11 @@ if baseline:
|
||||||
|
|
||||||
for line in other_lines:
|
for line in other_lines:
|
||||||
print(line)
|
print(line)
|
||||||
|
|
||||||
|
if any(line.strip() for line in other_lines):
|
||||||
|
print("markdownlint exited non-zero with unclassified output; failing safe.")
|
||||||
|
sys.exit(2)
|
||||||
|
|
||||||
print("No blocking markdown issues on changed lines.")
|
print("No blocking markdown issues on changed lines.")
|
||||||
PY
|
PY
|
||||||
SCRIPT_EXIT=$?
|
SCRIPT_EXIT=$?
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue