Repository navigation
PermalinkComparing changes
Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.Open a pull request
Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here. base repository: commit-check/commit-check Failed to load repositories. Confirm that selected base ref is valid, then try again. LoadingUh oh!
There was an error while loading. Please reload this page.
base: 8263be1 Choose a base ref Could not load branches Nothing to show Loading {{ refName }} default Could not load tags Nothing to show {{ refName }} default Loading ... head repository: commit-check/commit-check Failed to load repositories. Confirm that selected head ref is valid, then try again. LoadingUh oh!
There was an error while loading. Please reload this page.
compare: 87cf6e5 Choose a head ref Could not load branches Nothing to show Loading {{ refName }} default Could not load tags Nothing to show {{ refName }} default Loading- 3 commits
- 16 files changed
- 3 contributors
Commits on Nov 21, 2026
-
feat: carry config notices in the result and report an empty run as s…
…kip (#728) * feat: carry config notices in the result and report an empty run as skip A setting that is not in force was printed on stderr only, so --format json, the Python API and everything built on them returned a plain pass. The JSON result and the API's dict now have a top-level "notices" list, each entry {"setting", "message"}, empty when there are none. It carries the lines the CLI already prints: an inherit_from that was not loaded or is nested, an unknown setting, an invalid CCHK_* value, a [files] section that is not a table or a [files] value that cannot be used, and --files or --branch with nothing configured. The stderr lines are unchanged. [pull_request] keys are now checked: check, ai_label and body_ai_attribution (the GitHub App's) and ai_declaration_checkboxes (the CLI's) are known, and any other key is reported as unknown, with the closest match. [jira] is still not checked. A run with no checks at all is now "skip", as a run whose every check skipped already was. The exit code stays 0, and text output is unchanged. * docs: say an ignore run is a skip only without declaration checkboxes With [pull_request] ai_declaration_checkboxes set, --ai-attribution-only runs CC501 under the default ignore policy too, so the status is pass or fail, not skip.
invictustitan2 authored Nov 21, 2026 Configuration menu
- View commit details
- Copy full SHA for dee54af
- Browse repository at this point
Commits on Nov 22, 2026
-
feat: add body_max_line_length to limit commit body lines (CC018) (#730)
* feat: add body_max_line_length to limit commit body lines (CC018) A new [commit] body_max_line_length setting, off by default, fails a commit whose body has a line longer than the limit. Lines with a URL, lines with no space and the closing trailer block are not counted, and dependabot and renovate commits skip it, as they do the subject length rules. * test: split the CC001 and CC018 assertion in two * fix: match URL schemes in any case for CC018 * fix: read committed messages whole and keep folded trailers for CC018 Any URL scheme now marks a line as a URL line, a trailer value that continues on an indented line stays in the trailer block, and an existing commit is read with %B, since %s joins a line written right under the subject into the subject. * fix: count CJK lines and name the long lines for CC018 A line with no space was left out so that a path or a hash is not counted, but Chinese, Japanese and Korean prose has no spaces either: a 74-character Chinese line passed, and adding one English word made it fail. A line with a wide character is now counted. The error names the lines, counting the subject as line 1, so the long line can be found without the colour marking (CI logs, editors). * test: split the CJK line assertion in two * fix: match a URL right after CJK text for CC018 Chinese and Japanese text runs straight into an address (参见https://...), and \b found no boundary between the two, so the line was counted. * perf: start CC018's URL scheme where a word starts With no word boundary, the URL pattern tried a match at every letter of a long run with no ://, so a 20,000-letter body line took over a second. A lookbehind starts the scheme only where a run of scheme characters starts, and still finds 参见https://...
shenxianpeng authored Nov 22, 2026 Configuration menu
- View commit details
- Copy full SHA for 4032000
- Browse repository at this point
-
docs: pin the README to v2.24.0 (#731)
Co-authored-by: Xianpeng Shen <3353385+shenxianpeng@users.noreply.github.com>
shenxianpeng and shenxianpeng authored Nov 22, 2026 Configuration menu
- View commit details
- Copy full SHA for 87cf6e5
- Browse repository at this point
This comparison is taking too long to generate.
Unfortunately it looks like we can’t render this comparison for you right now. It might be too big, or there might be something weird with your repository.
You can try running this command locally to see the comparison on your machine:
git diff 8263be1...87cf6e5
Uh oh!
There was an error while loading. Please reload this page.