Skip to content

Allow draft releases from manual workflow - #52

Merged
krrrr38 merged 1 commit into
mainfrom
fix/draft-release-input
Sep 30, 2026
Merged

krrrr38 merged 1 commit into
mainfrom
fix/draft-release-input

Conversation

@krrrr38

@krrrr38 krrrr38 commented Sep 30, 2026 •

Copy link
Copy Markdown
Member

Summary

  • Add a draft boolean input to the manual release workflow (default: false).
  • Pass --draft to gh release create when the input is enabled.

Validation

  • YAML parsed successfully.
  • git diff --check passed.

Summary by CodeRabbit

  • New Features
    • Manually triggered releases can now be created as drafts for review before publication. Draft mode is optional and off by default; releases continue to be created without draft status unless enabled.

Signed-off-by: krrrr38 <k.kaizu38@gmail.com>
@github-actions github-actions Bot added the ci label Sep 30, 2026
@coderabbitai

coderabbitai Bot commented Sep 30, 2026 •

Copy link
Copy Markdown

Review in Change Stack →

Navigate logical layers of code changes, visualize relationships, and explore their blast radius.

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Advanced

Run ID: 43021eb3-8031-476d-8646-ed0a1ccc5205

📥 Commits

Reviewing files that changed from the base of the PR and between 8d8369c and a30bef4.

📒 Files selected for processing (1)
  • .github/workflows/release.yml

Included review availability: This review used your included allowance. Your plan provides up to 10 included reviews per hour; 8 remain after this review.


📝 Walkthrough

Walkthrough

The release workflow adds a manual draft input that defaults to false. When its value is true, the release command includes the --draft option.

Changes

Draft Release Option

Layer / File(s) Summary
Draft input and release creation
.github/workflows/release.yml
The manual trigger accepts a draft input that defaults to false. The release step passes --draft only when the input is true; otherwise, it creates a non-draft release.

Priority: ⬇️ Low

Estimated code review effort: 2 (Simple) | ~8 minutes

Change: Feature

Merge Risk: ⚪ Minimal · up to a30be

Manual releases remain non-draft by default, and selecting draft adds the draft option. No concrete merge-blocking risk was found.

Architecture Summary

Architecture risk: 🔵 Low · up to a30be

The changed surface does not map to a changed system, dependency edge, entrypoint, or external dependency.

Changed systems: None identified.

Architecture concerns
No architecture-level concerns identified.

Review details

Before / after behavior

  • observed — Modified behavior in .github/workflows/release.yml: Adds a manual-trigger draft boolean input, defaulting to false.
  • observed — Modified behavior in .github/workflows/release.yml: Builds release options with --draft only when DRAFT equals "true".
  • observed — Modified behavior in .github/workflows/release.yml: Passes the conditional release options to gh release create and sets DRAFT from the workflow input; without the option, release creation remains non-draft.
🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title clearly and concisely describes the main change: enabling draft releases from the manual workflow.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff. Analyzed 0 functions across 0…
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Commit to this branch
  • Create a new PR

Comment @coderabbitai help to get the list of available commands.

@krrrr38
krrrr38 merged commit bf1d47a into main Sep 30, 2026
16 checks passed
@krrrr38
krrrr38 deleted the fix/draft-release-input branch September 30, 2026 04:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant