Skip to content

ci: release only when a release/<version> PR merges - #36

Merged
Andarius merged 1 commit into
mainfrom
ci/release-pr-model
Sep 25, 2026
Merged

Andarius merged 1 commit into
mainfrom
ci/release-pr-model

Conversation

@Andarius

Copy link
Copy Markdown
Owner

Description

Merging to main never publishes anymore (Renovate automerges included). yarn release <version> opens a release/<version> PR that bumps package.json with notes drafted from the commits since the last tag; merging it publishes to npm (trusted publishing), tags v<version> and creates the GitHub release from the PR description. workflow_dispatch re-runs an existing release (all steps idempotent).

Ordinary merges (incl. Renovate automerges) no longer publish. yarn release <version>
opens a release PR; merging it publishes to npm, tags v<version> and creates the GitHub
release with the PR description as notes.
@Andarius
Andarius merged commit 3e9264e into main Sep 25, 2026
8 checks passed
@Andarius
Andarius deleted the ci/release-pr-model branch September 25, 2026 19:12
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.

1 participant