Skip to content

Make Ruby releases an explicit version decision - #70

Merged
xiangfu0 merged 1 commit into
mainfrom
codex/explicit-ruby-release-choice
Oct 24, 2026
Merged

xiangfu0 merged 1 commit into
mainfrom
codex/explicit-ruby-release-choice

Conversation

@xiangfu0

Copy link
Copy Markdown
Contributor

Main-branch pushes currently force a minor-version release, including dependency or metadata maintenance. Replace that automatic publisher with Release Decision, an explicit none (default), patch, minor, or major choice.

The selector uses bin/bump-version and calls the existing Release workflow only for a selected version bump. none records the decision with read-only permissions and skips checkout, version changes, and the publisher. The existing manual tag/ref interface remains available, and release-generated commits can no longer trigger a duplicate automatic publication.

Validation:

  • Executed the workflow's version-selection shell in disposable fixtures: 1.46.0 → 1.46.1 / 1.47.0 / 2.0.0; both version and lockfile metadata agree.
  • none leaves version/lockfile unchanged and produces no release tag output; invalid input fails closed.
  • Actionlint passes for the new workflow, including ShellCheck. Workflow/expression validation passes for both workflows; the existing publisher's six ShellCheck warnings are unchanged from main.
  • git diff --check passes. No gem was published. The hosted none dispatch will be checked after the new workflow reaches the default branch.

@codecov

codecov Bot commented Oct 24, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 99.72%. Comparing base (e34ed22) to head (9a6bb7a).
⚠️ Report is 1 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main      #70   +/-   ##
=======================================
  Coverage   99.72%   99.72%           
=======================================
  Files          27       27           
  Lines        1103     1103           
=======================================
  Hits         1100     1100           
  Misses          3        3           
Flag Coverage Δ
unit 99.72% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@xiangfu0
xiangfu0 merged commit e0c6418 into main Oct 24, 2026
8 checks passed
@xiangfu0
xiangfu0 deleted the codex/explicit-ruby-release-choice branch October 24, 2026 22:45
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