Skip to content

Skipped PR build remains a pending check in GitHub UI #10364

@hugovk

Description

@hugovk

Details

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:

Details image

https://readthedocs.org/projects/cpython-previews/builds/20835824/

However, the status check on GitHub still shows as pending:

Details image

And also shows in the tab:

Details image

Metadata

Metadata

Assignees

Labels

AcceptedAccepted issue on our roadmapBugA bug

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions