Skip to content

fix(ci): no-op Version Packages workflow when no changesets exist - #2

Merged
hudrazine merged 1 commit into
mainfrom
fix/version-packages-noop
Aug 21, 2026
Merged

fix(ci): no-op Version Packages workflow when no changesets exist#2
hudrazine merged 1 commit into
mainfrom
fix/version-packages-noop

Conversation

@hudrazine

Copy link
Copy Markdown
Owner

Summary

  • Fix the Version Packages workflow failure on merges without changesets (run 32481570213).
  • The v2 split action changesets/action/version@v2 runs changeset version unconditionally and exits 1 with "No unreleased changesets found" when main has no pending changesets. It is designed to run only after select-mode returns version.
  • Switch to the combined changesets/action@v2 without a publish script, which exits cleanly with an informational message when there are no changesets and creates/updates the Version Packages PR when there are. Also correct the invalid title input to pr-title (it was silently ignored with a warning).

Reason

The workflow was expected to be a no-op for changeset-free merges such as #1, but the split action lacks that guard when used standalone.

Test notes

  • YAML structure validated locally; behavior will be proven by the next push to main (this merge itself should complete as a clean no-op).

The v2 split version action runs 'changeset version' unconditionally and
fails with exit code 1 when main has no pending changesets. Use the
combined changesets/action@v2 without a publish script instead, which
exits cleanly with an informational message in that case, and correct
the invalid 'title' input to 'pr-title'.
@hudrazine
hudrazine marked this pull request as ready for review August 21, 2026 12:35
@hudrazine
hudrazine merged commit 9845a07 into main Aug 21, 2026
1 check passed
@hudrazine
hudrazine deleted the fix/version-packages-noop branch August 21, 2026 12:35
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