Skip to content

chore: open the release PR as a draft#12

Merged
VascoSch92 merged 1 commit into
mainfrom
vs/draft-release-pr
Jun 25, 2026
Merged

chore: open the release PR as a draft#12
VascoSch92 merged 1 commit into
mainfrom
vs/draft-release-pr

Conversation

@VascoSch92

Copy link
Copy Markdown
Member

What

Add "draft-pull-request": true to release-please-config.json so this repo's own chore(main): release X.Y.Z PR opens as a draft.

Why

This adds a deliberate "ready to ship" gate: a draft PR can't be merged, and merging the release PR is what publishes the release. So someone has to explicitly mark it Ready for review before it can be merged — a useful checkpoint before cutting a release.

Notes

  • draft-pull-request is a release-please config-file option (not an action input). The action runs in manifest mode and reads it from release-please-config.json, so this one line is all that's needed.
  • Scope: this only affects this repo's own release PRs (dogfooding). Consumer repos each have their own config file and are unaffected.
  • release-please won't flip the PR back to draft once a maintainer marks it Ready for review (it never issues a draft↔ready conversion on update).

@github-actions github-actions Bot added the type: chore Maintenance / chores label Jun 25, 2026
@VascoSch92 VascoSch92 requested a review from jlav June 25, 2026 16:15
@VascoSch92 VascoSch92 merged commit 0b56b0b into main Jun 25, 2026
2 checks passed
@VascoSch92 VascoSch92 deleted the vs/draft-release-pr branch June 25, 2026 16:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

type: chore Maintenance / chores

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants