Skip to content

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
@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