Repository navigation
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: v2.22.0
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: v2.23.0
Could not load branches
Nothing to show
Loading
Could not load tags
Nothing to show
{{ refName }}
default
Loading
- 5 commits
- 7 files changed
- 2 contributors
Commits on Nov 18, 2026
-
docs: pin the README to v2.22.0 (#711)
Co-authored-by: Xianpeng Shen <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 4a8c359 - Browse repository at this point
Copy the full SHA 4a8c359View commit details -
Configuration menu - View commit details
-
Copy full SHA for 44ed6c8 - Browse repository at this point
Copy the full SHA 44ed6c8View commit details -
feat: add commit-check-ci to check a whole merge or pull request (#714)
* feat: add a container image for GitLab CI and Bitbucket Pipelines The image holds the CLI, git, and commit-check-ci, which checks a whole merge or pull request: the branch, the title and description, and every commit the request adds. A GitLab job or a Bitbucket pipe starts it instead of copying a script from the documentation. A release publishes it to ghcr.io/commit-check/commit-check from the wheel that went to PyPI. CI builds and starts it on every pull request, so a broken Dockerfile is not found on release day. * refactor: give each request check a method of its own run_for held four checks and their error paths in one body. Each is now a short method, which is also easier to read next to its heading. The image installs the wheel with --only-binary, so a source distribution could never run a setup script there, and the entrypoint's case names its default branch. * refactor: ship commit-check-ci in the package instead of an image A container image means a push on every release, a base image to keep current, and a registry package to look after. None of that is needed to check a merge or pull request: the command is now part of the PyPI package, so a GitLab or Bitbucket job installs commit-check and runs commit-check-ci. The Dockerfile, its entry point, the image jobs and the Dependabot entry are gone. Checks are chosen by options only; the variables a pipe needed (MESSAGE, BRANCH, ...) are gone too, since a project variable with such a name is common in CI. * fix: fail when a shallow clone ends inside the request git lists a range that runs into the end of a shallow clone without an error, so a request with more commits than the clone depth passed with its older commits unchecked. The job now fails and names the setting that gives it the full history. On Bitbucket, a destination ref that is behind the destination commit is moved to it, so the rebase check cannot pass against an old target. * fix: keep modules in the checkout from replacing installed ones The checks ran as "python -m commit_check.main" in the request's checkout, and -m puts the working directory first on the module search path. A commit_check directory or a file named like a standard library module in the repository was imported instead of the real one. The command now runs with -P, which leaves the working directory out. On Bitbucket a missing destination commit now fails the branch check even when the clone has a ref for the destination branch. * fix: check the last commit's own author outside a request Outside a merge or pull request the commit checks ran without --rev, so the author checks read the identity the runner would commit with (GIT_AUTHOR_*, user.*) rather than the author of the commit under test. A check that is given no text now gets an empty standard input, so text a runner leaves there is not taken for the branch name.
Configuration menu - View commit details
-
Copy full SHA for 3707971 - Browse repository at this point
Copy the full SHA 3707971View commit details
Commits on Nov 19, 2026
-
docs: pin the README to v2.23.0 (#715)
Co-authored-by: Xianpeng Shen <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 78a1339 - Browse repository at this point
Copy the full SHA 78a1339View commit details -
fix: need the target branch in commit-check-ci only for the rebase ru…
…le (#716) A merge request pipeline that runs in a fork of a private project cannot fetch the target branch: the project refuses the fork's job token. The branch check failed there even when require_rebase_target was not set, the one rule that reads the target branch. The check now reads the configuration when the target branch could not be prepared, and goes on to check the branch name when the rule is not set. With the rule set, or a configuration that cannot be read, it fails as before. Co-authored-by: Xianpeng Shen <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 00104bd - Browse repository at this point
Copy the full SHA 00104bdView 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 v2.22.0...v2.23.0