Skip to content

Add draft-release workflow placeholder#68

Open
IgorDobryn wants to merge 1 commit into
mainfrom
MT-22783-add-draft-release-workflow-placeholder-for-sdk-repos
Open

Add draft-release workflow placeholder#68
IgorDobryn wants to merge 1 commit into
mainfrom
MT-22783-add-draft-release-workflow-placeholder-for-sdk-repos

Conversation

@IgorDobryn

@IgorDobryn IgorDobryn commented Jun 29, 2026

Copy link
Copy Markdown
Contributor

Motivation

A workflow_dispatch workflow can only be listed and triggered once its file exists on the default branch. Merging this no-op placeholder first puts draft-release.yml on main so the workflow can be dispatched during implementation.

Changes

  • Add .github/workflows/draft-release.ymlworkflow_dispatch with a bump_type (patch/minor/major) choice input; a single job that echoes the input and exits 0.

How to test

  • Merge this PR — workflow_dispatch only appears once the workflow is on the default branch.
  • Actions tab → Draft python ReleaseRun workflow → confirm it completes green and logs the selected bump_type.

Summary by CodeRabbit

  • Chores
    • Added a manual release workflow to streamline creating draft Python releases with a chosen version bump type.

@coderabbitai

coderabbitai Bot commented Jun 29, 2026

Copy link
Copy Markdown

Review Change Stack

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: 5cd29cc9-3d95-41da-97a9-7d00b7891939

📥 Commits

Reviewing files that changed from the base of the PR and between ab72eaa and 4a7f1d3.

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

📝 Walkthrough

Walkthrough

A new GitHub Actions workflow file .github/workflows/draft-release.yml is added. It is manually triggered via workflow_dispatch with a required bump_type input (patch, minor, major) and contains a single placeholder job that echoes the selected bump type.

Changes

Draft Release Workflow

Layer / File(s) Summary
Draft release workflow scaffold
.github/workflows/draft-release.yml
Adds a manually triggered workflow with a bump_type input and a placeholder step that echoes the value.

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~2 minutes

Poem

A rabbit hops in, bump type in paw,
patch, minor, or major — pick one by law.
The workflow awakes on a manual call,
echoes the choice down the pipeline hall.
🐇 Draft release begins, one small step for all!

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Title check ✅ Passed The title clearly summarizes the main change: adding a draft-release workflow placeholder.
Description check ✅ Passed The description covers the required Motivation, Changes, and How to test sections and is mostly complete.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
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)
  • Create PR with unit tests
  • Commit unit tests in branch MT-22783-add-draft-release-workflow-placeholder-for-sdk-repos

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

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

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