Repository navigation
refactor(pr): check titles and commits with commitizen - #8066
Merged
Merged
Conversation
Owner
Author
|
Checks run on the rebased branch:
What the rules look like now (owner decision, #8045): any scope; the commitizen types; Follow-ups, not in this pull request:
|
Add commitizen 4.20.1 with [tool.commitizen] and the upstream hooks commitizen (commit-msg) and commitizen-branch (pre-push). The job Semantic PR title runs cz check in place of the amannn action. The first line has at most 72 characters. Delete the custom title rules and the structure rules of a delivery body. Any scope and a breaking change mark are now allowed. The release check still refuses a type that ships no release when runtime code changes. Generated titles and commit messages fit 72 characters. Refs #8045
dan-petty
force-pushed
the
refactor/8045-commitizen-validation
branch
from
December 1, 2026 20:38
081946d to
ca4cdcf
Compare
dan-petty
marked this pull request as ready for review
December 1, 2026 20:50
dan-petty-release Bot
added a commit
that referenced
this pull request
Dec 1, 2026
🤖 I have created a release *beep* *boop* --- ## [0.270.4](v0.270.3...v0.270.4) (2026-12-01) ### Bug Fixes * **ci:** stop checking skills against the OpenSpec version ([#8069](#8069)) ([5b4ac50](5b4ac50)) * **roadmap:** reap the orphans that fill the pod process limit ([#8059](#8059)) ([dda7c5d](dda7c5d)) ### Code Refactoring * **pr:** check titles and commits with commitizen ([#8066](#8066)) ([4a5a964](4a5a964)), closes [#8045](#8045) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). Co-authored-by: dan-petty-release[bot] <346998822+dan-petty-release[bot]@users.noreply.github.com>
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.
Replace the custom checks of commit messages and pull request titles with commitizen, and delete the custom rules.
[tool.commitizen]and the hookscommitizen(commit-msg) andcommitizen-branch(pre-push) check each commit message. The jobSemantic PR titlerunscz checkon the title in place of amannn/action-semantic-pull-request. The first line has at most 72 characters.cz checkignores that key of the config, so each call passes--message-length-limit 72.!. The scope list, the 60-character summary limit and the rules for placeholders and repeated words are gone.devops pr create, the open step and the merge readiness check no longer judge the structure of a delivery body. A plan body keeps its form rules (refactor(roadmap): plan from a neutral prompt and openspec #8039). The guard against a closing keyword in text that a model writes stays inbuild_body.Why: each custom rule broke on valid titles and on other repositories. commitizen is a maintained open tool, and it gives one rule for the hooks and for CI.
The library check
PR title / Semantic PR titlestill enforces the old scope list and 60 characters until dan-petty/github-workflows#70 lands. The ruleset ofmaindoes not require it.Closes #8045