Skip to content
Permalink

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.12.0
Choose a base ref
...
head repository: commit-check/commit-check
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v2.12.2
Choose a head ref
  • 12 commits
  • 17 files changed
  • 9 contributors

Commits on Jul 24, 2026

  1. Configuration menu
    Copy the full SHA
    bd890f1 View commit details
    Browse the repository at this point in the history

Commits on Jul 25, 2026

  1. Configuration menu
    Copy the full SHA
    ae0362e View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    dca495f View commit details
    Browse the repository at this point in the history

Commits on Jul 27, 2026

  1. Configuration menu
    Copy the full SHA
    5a3dd93 View commit details
    Browse the repository at this point in the history

Commits on Jul 29, 2026

  1. fix: handle PackageNotFoundError when commit-check is not installed (#…

    …483)
    
    * fix: handle PackageNotFoundError when commit-check is not installed
    
    Wrap __version__ in try/except so that importing commit-check
    does not crash in development environments where the package
    has not been pip installed (e.g. running directly via uv or
    python -m). Falls back to '0.0.0.dev'.
    
    * test: add tests for __version__ fallback on PackageNotFoundError
    shenxianpeng authored Jul 29, 2026
    Configuration menu
    Copy the full SHA
    ad606e1 View commit details
    Browse the repository at this point in the history
  2. chore: remove dead code _find_check (#484)

    _find_check in commit_check/util.py was no longer used by any
    production code. Only its tests in tests/util_test.py referenced it.
    Remove both the function and its corresponding test class.
    shenxianpeng authored Jul 29, 2026
    Configuration menu
    Copy the full SHA
    cb0c44f View commit details
    Browse the repository at this point in the history

Commits on Jul 30, 2026

  1. chore: use pull_request_target for auto-labeler on fork PRs (#488)

    fix: use pull_request_target for auto-labeler on fork PRs
    
    When a PR is opened from a fork repository, the GITHUB_TOKEN in
    pull_request events only has read permissions, preventing the
    autolabeler from adding labels. Using pull_request_target runs
    the workflow in the context of the base repository with write
    permissions, which is safe since the autolabeler only reads PR
    metadata and adds labels without checking out any code.
    
    Fixes auto-labeler failing on PR #487 from a fork.
    shenxianpeng authored Jul 30, 2026
    Configuration menu
    Copy the full SHA
    18d7cee View commit details
    Browse the repository at this point in the history
  2. chore: remove dead else branch in print_suggestion() (#487)

    * fix: remove dead else branch in print_suggestion() (#486)
    
    Removed the unreachable else branch in print_suggestion() that could never
    be entered since all callers already guard with a truthy check. Updated the
    type hint from str | None to str, and removed the corresponding test.
    
    Close #486
    
    * fix: resolve mypy type error in print_suggestion call
    
    Fix the mypy error: the argument passed to print_suggestion in
    _print_failure is now guaranteed to be str (still works at runtime,
    just shuts up the type checker).
    
    ---------
    
    Co-authored-by: XEDAB <XEDAB@users.noreply.github.com>
    XEDAB and XEDAB authored Jul 30, 2026
    Configuration menu
    Copy the full SHA
    56e6e36 View commit details
    Browse the repository at this point in the history

Commits on Jul 31, 2026

  1. Configuration menu
    Copy the full SHA
    3095509 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    91c4a9f View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    b75ec1c View commit details
    Browse the repository at this point in the history
  4. fix: detect space-separated AI model names in co-author trailers (#506)

    * fix: detect space-separated AI model names in trailers
    
    * ci: auto fixes from pre-commit.com hooks
    
    ---------
    
    Co-authored-by: sshevchenko <sshevchenko@evolution.com>
    Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
    3 people authored Jul 31, 2026
    Configuration menu
    Copy the full SHA
    d534a3f View commit details
    Browse the repository at this point in the history
Loading