Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(pre-commit-hooks)!: allow empty ranges in 'commitizen-branch' #1209

Merged
merged 3 commits into from
Nov 10, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions .pre-commit-hooks.yaml
Original file line number Diff line number Diff line change
@@ -4,8 +4,8 @@
Check whether the current commit message follows committing rules. Allow
empty commit messages by default, because they typically indicate to Git
that the commit should be aborted.
entry: cz check
args: [--allow-abort, --commit-msg-file]
entry: cz
args: [check, --allow-abort, --commit-msg-file]
stages: [commit-msg]
language: python
language_version: python3
@@ -18,8 +18,8 @@
default branch on the origin repository. Useful for checking messages after
the fact (e.g., pre-push or in CI) without an expensive check of the entire
repository history.
entry: cz check
args: [--rev-range, origin/HEAD..HEAD]
entry: cz
args: [--no-raise, '3', check, --rev-range, origin/HEAD..HEAD]
always_run: true
pass_filenames: false
language: python
38 changes: 19 additions & 19 deletions poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.