Skip to content
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

Fail completed successfully check for failing Enos tests #20335

Merged
merged 2 commits into from
Apr 26, 2023

Conversation

jaymalasinha
Copy link
Contributor

@jaymalasinha jaymalasinha commented Apr 24, 2023

The completed-successfully required status check is now being skipped if any of the dependent jobs fail. This commit is a workaround to force the check and fail the status if any of the dependent jobs fail. If the any of the dependent jobs are skipped the required status check will be skipped as well.

@jaymalasinha jaymalasinha force-pushed the jsinha/enos_strict_check branch 3 times, most recently from 2c8ffb1 to 52eb64b Compare April 25, 2023 20:14
@jaymalasinha jaymalasinha marked this pull request as ready for review April 25, 2023 20:18
@jaymalasinha jaymalasinha requested a review from a team as a code owner April 25, 2023 20:18
@ryancragun
Copy link
Collaborator

For posterity, here's the upstream bug that Jaymala reported: actions/runner#2566

Copy link
Collaborator

@ryancragun ryancragun left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Heavy sigh. Thanks for looking into this and finding a workaround.

@ChristopherHX
Copy link

Before you merge this, you should know that pressing cancel (needs permissions to do it) very early can still bypass your exit 1

because you don't run the failing job if the deps has result cancelled and all others are skipped or success.

Jaymala Sinha added 2 commits April 26, 2023 13:55
…sts fail

Signed-off-by: Jaymala Sinha <jaymala@hashicorp.com>
Signed-off-by: Jaymala Sinha <jaymala@hashicorp.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants