Unverified Commit 74a9f54c authored by Harry Mellor's avatar Harry Mellor Committed by GitHub
Browse files

[CI] Fix edge case that could lead to broken docs builds on main (#36515)


Signed-off-by: default avatarHarry Mellor <19981378+hmellor@users.noreply.github.com>
parent 00c4cb56
...@@ -19,6 +19,6 @@ if [[ "$HTTP_CODE" -ne 200 ]]; then ...@@ -19,6 +19,6 @@ if [[ "$HTTP_CODE" -ne 200 ]]; then
elif grep -qE '"name": *"(documentation|ready)"' /tmp/pr_response.json; then elif grep -qE '"name": *"(documentation|ready)"' /tmp/pr_response.json; then
echo "Found required label, proceeding with build." echo "Found required label, proceeding with build."
else else
echo "PR #${READTHEDOCS_VERSION} lacks 'documentation' or 'ready' label, skipping build." echo "PR #${READTHEDOCS_VERSION} lacks 'documentation' or 'ready' label, cancelling build."
exit 183 exit 1
fi fi
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment