Skip to content

ci: require a changeset and a conventional-commit PR title - #33

Merged
peetzweg merged 1 commit into
mainfrom
ci/pr-checks
Sep 1, 2026
Merged

ci: require a changeset and a conventional-commit PR title#33
peetzweg merged 1 commit into
mainfrom
ci/pr-checks

Conversation

@peetzweg

@peetzweg peetzweg commented Sep 1, 2026

Copy link
Copy Markdown
Member

Adds a PR Checks workflow so a bump like #30 can no longer land without a changeset (which left the release un-cut).

Why: the release flow is driven entirely by changesets — a PR that changes the package without one silently skips versioning and npm publish.

How: a new pr-checks.yml with two jobs: amannn/action-semantic-pull-request validates the PR title against conventional-commit shape (runs on edited too, so fixing the title re-checks without a push), and changeset status --since=origin/main fails when a published package changed without a changeset while still passing docs/CI-only PRs. The changesets bot's own changeset-release/main PR is exempt, since it consumes changesets rather than carrying one.

@peetzweg
peetzweg merged commit c800f88 into main Sep 1, 2026
7 checks passed
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