Closed
Description
Details
- Read the Docs project URL: https://readthedocs.org/projects/cpython-previews/
- Build URL (if applicable): https://readthedocs.org/projects/cpython-previews/builds/20835824/
- PR URL: RtD docs previews: Cancel building PRs if no changes in Doc dir python/cpython#104100
Expected Result
When skipping the build with:
if [ "$READTHEDOCS_VERSION_TYPE" = "external" ] && [ "$(git diff --quiet origin/main -- Doc/ .readthedocs.yml; echo $?)" -eq 0 ];
then
echo "No changes to Doc/ - exiting the build.";
exit 183;
fi
It should either show the GitHub check as a grey skipped result (or possibly green success, but skip would be more accurate).
Actual Result
The build was cancelled as expected:
https://readthedocs.org/projects/cpython-previews/builds/20835824/
However, the status check on GitHub still shows as pending:
And also shows in the tab: