Skip to content

[CI] Do Not Consider a Job Failed if Steps Were Skipped #127279

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

2 changes: 1 addition & 1 deletion .ci/metrics/metrics.py
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,7 @@ def get_per_workflow_metrics(
# longer in a testing state and we can directly assert the workflow
# result.
for step in workflow_job.steps:
if step.conclusion != "success":
if step.conclusion != "success" and step.conclusion != "skipped":
job_result = 0
break

Expand Down
Loading