Skip to content

ci: fail commit subjects that have a scope - #32

Open
christianhg wants to merge 1 commit into
mainfrom
ci/no-commit-scopes
Open

christianhg wants to merge 1 commit into
mainfrom
ci/no-commit-scopes

Conversation

@christianhg

Copy link
Copy Markdown
Member

The shared checks / commits check now fails a human commit whose subject has a scope, such as fix(editor): ... or feat(x)!: .... The failure names each such commit by short sha and subject and suggests the bare form. Commits by a login ending in [bot], such as Renovate's chore(deps): and fix(deps):, keep their scope and pass. Merge commits, reverts and fixup commits are judged as before.

The old exemption that let scoped commits to unreleased packages skip the changeset rule is gone, so the commits job no longer checks out the calling repo's package and changeset config.

@christianhg
christianhg marked this pull request as ready for review November 20, 2026 13:07
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