ci: release postgrest-typegen only on manual dispatch - #127
Merged
Conversation
Splits postgrest-typegen out of the automatic release-please run into its own config, manifest and workflow-dispatch-only workflow, so merging a typegen change no longer opens a release pull request or publishes to npm on its own.
|
Important
This repository does not receive automatic reviews because it has fewer than 10 stars. ⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Plus Run ID: 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. Comment |
Closed
mandarini
approved these changes
Aug 31, 2026
Closed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Merging a
postgrest-typegenchange currently makes release-please open (or update) a release pull request right away, and merging that publishes to npm. This splits the package out of the automatic run so its releases are cut on demand instead.What changed
release-please-config.json/.release-please-manifest.jsonnow cover onlypackages/capability-matrix. That run still fires automatically afterValidate Capabilitiesonmain.release-please-config.postgrest-typegen.json/.release-please-manifest.postgrest-typegen.jsoncoverpackages/postgrest-typegen, seeded at the version currently onmain(0.2.0).Release postgrest-typegenworkflow (workflow_dispatchonly) runs release-please against that config and carries the npm publish job that used to live inrelease.yml.separate-pull-requests: trueso the two runs get component-scoped branches (release-please--branches--main--components--<component>) and cannot clobber each other.After merging
The currently open auto-created release pull request (#126) is on the old shared
release-please--branches--mainbranch and will go stale. It should be closed; runningRelease postgrest-typegenrecreates the equivalent pull request on the component-scoped branch whenever you want to cut0.2.1.