-
-
Notifications
You must be signed in to change notification settings - Fork 16
Permalink
Choose a base ref
{{ refName }}
default
Choose a head ref
{{ refName }}
default
Comparing 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.
Loading
base: 9f12a63
Could not load branches
Nothing to show
Loading
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.
Loading
compare: 90ace06
Could not load branches
Nothing to show
Loading
Could not load tags
Nothing to show
{{ refName }}
default
Loading
- 5 commits
- 4 files changed
- 3 contributors
Commits on Aug 13, 2026
-
test: stop four JSON tests taking their verdict from the checkout (#548)
main went red on the push run for #542 with four failures in TestJsonFormat, all reading 'skip' where they assert 'pass'. Nothing regressed: the tests had been measuring the repository they run in. Each of the four supplies a message, on stdin or in a file, which makes it a prospective commit -- so _resolve_current_author reads `git config user.name` and falls back to HEAD's author. Both are ambient. A GitHub runner configures no git identity (no workflow here sets one), so the fallback always decides, and #542 was a dependabot merge: HEAD's author was dependabot[bot], which cchk.toml lists in [commit] ignore_authors. Every commit check skipped, and overall status is 'skip' when they all do. Reproduced against a clone pinned to 9f12a63 with the global and system git config disabled, which is what the runner looks like: HEAD author : dependabot[bot] user.name : '' -> status 'skip' (the four failures) user.name : set -> status 'pass' (why laptops and PRs were green) So it was never about #542's contents, and it will recur on the next bot-authored merge to main. The four now take a `pinned_author` fixture that fixes both identity sources, leaving the verdict to come from the message under test. The two tests in the class that already passed are the two that happened to patch get_commit_info for other reasons -- the same pin, arrived at by accident. Pinning it in a fixture would hide the fallback everywhere it applies, so it is now asserted directly instead: a new test drives an unconfigured identity with a bot as HEAD's author and expects every check to skip, exit code still 0. What silently decided other tests' results is now a contract of its own. Verified in that clone: 4 failed before, 7 passed after, and the full suite is unchanged in both a configured and an unconfigured environment. Claude-Session: https://claude.ai/code/session_01U9zFxq8V4qxG4aMzJhGBFn Co-authored-by: Claude Opus 5 <noreply@anthropic.com>
Configuration menu - View commit details
-
Copy full SHA for 60d7586 - Browse repository at this point
Copy the full SHA 60d7586View commit details -
docs: Clean up README formatting (#549)
Removed extra line break before 'Quick Start' section.
Configuration menu - View commit details
-
Copy full SHA for 41df972 - Browse repository at this point
Copy the full SHA 41df972View commit details
Commits on Aug 16, 2026
-
Configuration menu - View commit details
-
Copy full SHA for b446cb8 - Browse repository at this point
Copy the full SHA b446cb8View commit details -
fix: support the NO_COLOR convention for disabling color (#552)
supports_color() from #551 answered FORCE_COLOR, the TTY and TERM, but not NO_COLOR — the variable users actually export globally to opt out of color (https://no-color.org). Any non-empty value now disables color, outranking detection and yielding only to an explicit FORCE_COLOR. Two gaps in the #551 tests are closed alongside. The reload-based tests recomputed the module constants under a patched environment and left the last reload's values in place for every test that ran afterwards; a fixture now re-derives them on teardown. And nothing exercised the copies commit_check.util binds at import — the ones the print functions actually read — so two subprocess tests now run the real import path end to end and assert on what gets printed.
Configuration menu - View commit details
-
Copy full SHA for 3e4b218 - Browse repository at this point
Copy the full SHA 3e4b218View commit details -
Configuration menu - View commit details
-
Copy full SHA for 90ace06 - Browse repository at this point
Copy the full SHA 90ace06View commit details
Loading
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 9f12a63...90ace06