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

[ci] Fix all-jobs-succeeded job #460

Merged
merged 1 commit into from
Oct 4, 2023
Merged

[ci] Fix all-jobs-succeeded job #460

merged 1 commit into from
Oct 4, 2023

Conversation

joshlf
Copy link
Member

@joshlf joshlf commented Oct 4, 2023

Previously, this job used if: success() to only run on success. Unfortunately, GitHub interprets jobs skipped via if: to be successful. In this commit, we invert the logic, only running (and unconditionally failing) on if: failure().

Previously, this job used `if: success()` to only run on success.
Unfortunately, GitHub interprets jobs skipped via `if:` to be
successful. In this commit, we invert the logic, only running (and
unconditionally failing) on `if: failure()`.
@joshlf joshlf requested a review from jswrenn October 4, 2023 15:17
@joshlf joshlf enabled auto-merge October 4, 2023 15:21
@joshlf joshlf added this pull request to the merge queue Oct 4, 2023
Merged via the queue into main with commit 6b67c57 Oct 4, 2023
152 checks passed
@joshlf joshlf deleted the ci-omnibus-job branch October 4, 2023 15:37
@joshlf
Copy link
Member Author

joshlf commented Oct 4, 2023

Confirmed that this has fixed the issue: #461 (comment)

samuelselleck pushed a commit to samuelselleck/zerocopy that referenced this pull request Oct 13, 2023
Previously, this job used `if: success()` to only run on success.
Unfortunately, GitHub interprets jobs skipped via `if:` to be
successful. In this commit, we invert the logic, only running (and
unconditionally failing) on `if: failure()`.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants