Skip to content

fix(ci): prevent release jobs from being skipped#128

Merged
larkly merged 1 commit intomainfrom
fix/release-workflow-skip
Apr 1, 2026
Merged

fix(ci): prevent release jobs from being skipped#128
larkly merged 1 commit intomainfrom
fix/release-workflow-skip

Conversation

@larkly
Copy link
Copy Markdown
Owner

@larkly larkly commented Apr 1, 2026

Summary

  • Fix package and release jobs being skipped on tag-push releases
  • The build job's if: always() condition caused GitHub Actions to treat it as conditionally run, making downstream needs: build jobs skip
  • Replace with !failure() && !cancelled() which correctly propagates success

Test plan

  • Push a new tag — all 3 stages (build, package, release) should run

The build job used `if: always()` to handle the optional validate job,
but this caused downstream jobs (package, release) to see build as
conditionally run and skip themselves. Replace with `!failure() &&
!cancelled()` which correctly propagates success to dependents.
@larkly larkly merged commit 249fd36 into main Apr 1, 2026
3 checks passed
@larkly larkly deleted the fix/release-workflow-skip branch April 1, 2026 01:01
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.

1 participant