Skip to content
Discussion options

You must be logged in to vote

This is a valid point regarding how GitHub aggregates statuses.

Currently, GitHub follows a strict 'Success or Fail' logic for the top-level commit status. If any job in a workflow is cancelled, it means the intended CI/CD pipeline did not complete its validation. Because the state is not 'Success', GitHub marks the entire run as failed (Red X) to prevent accidental deployments or merges of incomplete checks.

If you want specific jobs to not affect the overall status when they don't succeed, you can use the continue-on-error: true property in your workflow YAML. This will allow the job to fail or be interrupted without turning the entire workflow status red.

However, regarding your sugges…

Replies: 3 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@silverwind
Comment options

Answer selected by thbeu
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Actions Build, test, and automate your deployment pipeline with world-class CI/CD General General topics and discussions that don't fit into other categories, but are related to GitHub Question Ask and answer questions about GitHub features and usage
5 participants