Skip to content

ci(postgrest-typegen): publish on release PR merge - #141

Merged
spydon merged 1 commit into
mainfrom
ci/publish-postgrest-typegen-on-merge
Sep 2, 2026
Merged

spydon merged 1 commit into
mainfrom
ci/publish-postgrest-typegen-on-merge

Conversation

@spydon

@spydon spydon commented Sep 2, 2026

Copy link
Copy Markdown
Contributor

Release postgrest-typegen triggers on workflow_dispatch only, so merging the release PR it opens does not do anything. Releasing takes two manual dispatches: the first opens the release PR, and a second one after the merge creates the tag and GitHub release and runs publish-postgrest-typegen.

The second dispatch is easy to forget, and it has already been missed. chore(main): release postgrest-typegen 0.2.1 (#139) is on main, but there is no postgrest-typegen-v0.2.1 tag and npm still serves 0.2.0 as latest.

This adds a push trigger scoped to .release-please-manifest.postgrest-typegen.json, the file the release PR bumps. Merging the release PR now runs release-please on the merge commit, which tags, creates the release, and publishes to npm. Pushes that only touch package sources do not match the path filter, so cutting a release still starts with a manual dispatch.

Note that 0.2.1 predates this trigger, so it needs one manual dispatch to go out.

@spydon
spydon requested review from a team as code owners September 2, 2026 08:58
@coderabbitai

coderabbitai Bot commented Sep 2, 2026

Copy link
Copy Markdown

Important

  • 🔍 Trigger review

This repository does not receive automatic reviews because it has fewer than 10 stars.

⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Team

Run ID: 0c01c72e-1119-465c-8189-9f87dbc92a05


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.

@spydon
spydon merged commit 66d4515 into main Sep 2, 2026
3 checks passed
@spydon
spydon deleted the ci/publish-postgrest-typegen-on-merge branch September 2, 2026 09:01
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