Skip to content

chore(deps): bump commit-check from 2.6.1 to 2.7.0#206

Merged
shenxianpeng merged 1 commit into
mainfrom
dependabot/pip/commit-check-2.7.0
May 19, 2026
Merged

chore(deps): bump commit-check from 2.6.1 to 2.7.0#206
shenxianpeng merged 1 commit into
mainfrom
dependabot/pip/commit-check-2.7.0

Conversation

@dependabot
Copy link
Copy Markdown
Contributor

@dependabot dependabot Bot commented on behalf of github May 19, 2026

Bumps commit-check from 2.6.1 to 2.7.0.

Release notes

Sourced from commit-check's releases.

v2.7.0

🎉 Major features and improvements

🚀 New features and improvements

📝 Documentation updates

Full Changelog: commit-check/commit-check@v2.6.1...v2.7.0

Changelog

Sourced from commit-check's changelog.

v2.7.0 (unreleased)

New Features


* **Force push detection and blocking** — Added ``--no-force-push`` CLI flag and
  ``check-no-force-push`` pre-push hook that inspect pushed ref ancestry via
  ``git merge-base --is-ancestor`` to detect and block ``git push --force`` and
  ``git push -f``. A new ``[push]`` TOML config section with
  ``allow_force_push`` (default ``true``) controls the behavior. Environment
  variable ``CCHK_ALLOW_FORCE_PUSH`` is also supported.
  • validate_push() API — New commit_check.api.validate_push() function for programmatic push safety checks, matching the --no-force-push CLI behavior without spawning a subprocess.

  • Standalone mode — When --no-force-push is run outside a pre-push hook (no stdin), it checks whether pushing HEAD to its configured upstream would require force, using git ls-remote and optional git fetch to resolve the remote commit.

v2.6.0 (2026-04-20)

New Features

  • Lower-noise CLI failure output — Added --no-banner to suppress the ASCII art header while preserving detailed errors and suggestions.
  • Compact failure mode — Added --compact to print one [FAIL] line per failing check for CI logs and automation-friendly terminal output. This mode also suppresses the banner.

Bug Fixes


* Fixed ``print_error_header`` state handling so repeated validations stay consistent when ``--compact`` is used.

v2.5.0 (2026-04-03)

New Features

  • Co-author bypass in ignore_authors_should_skip_commit_validation() now parses Co-authored-by: trailers in the commit message body. If any co-author name matches ignore_authors, all commit checks are skipped. Useful for AI bots that co-author commits (e.g., coderabbitai[bot]).
  • Organization-level config inheritance via inherit_from — New top-level TOML key that loads a parent config from a GitHub shorthand (github:owner/repo:path), a local file path, or an HTTPS URL, then deep-merges it with local settings. HTTP (non-TLS) URLs are rejected to prevent MITM attacks.
  • Git config author validationAuthorValidator now checks git config user.name / user.email first (the identity used for the next commit), falling back to git log if unset. Previously, a misconfigured identity would pass if the last commit had a valid author.

Bug Fixes


</tr></table> 

... (truncated)

Commits
  • e44b79a feat: add 156 common imperative verbs to imperatives list (#414)
  • 284c6df docs: improve Why Commit Check comparison table (#413)
  • 657d391 feat: block force pushes via pre-push hook (#412)
  • See full diff in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [commit-check](https://github.com/commit-check/commit-check) from 2.6.1 to 2.7.0.
- [Release notes](https://github.com/commit-check/commit-check/releases)
- [Changelog](https://github.com/commit-check/commit-check/blob/main/docs/changelog.rst)
- [Commits](commit-check/commit-check@v2.6.1...v2.7.0)

---
updated-dependencies:
- dependency-name: commit-check
  dependency-version: 2.7.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file minor A minor version bump python Pull requests that update Python code labels May 19, 2026
@dependabot dependabot Bot requested a review from a team as a code owner May 19, 2026 09:32
@dependabot dependabot Bot requested a review from shenxianpeng May 19, 2026 09:32
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file python Pull requests that update Python code minor A minor version bump labels May 19, 2026
@github-actions
Copy link
Copy Markdown
Contributor

Commit-Check ✔️

@shenxianpeng shenxianpeng enabled auto-merge (squash) May 19, 2026 09:55
@shenxianpeng shenxianpeng merged commit 3873d8a into main May 19, 2026
6 checks passed
@shenxianpeng shenxianpeng deleted the dependabot/pip/commit-check-2.7.0 branch May 19, 2026 09:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file minor A minor version bump python Pull requests that update Python code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant