pre-commit: work around new zizmor 1.30 failure

The latest zizmore update fails to validate the pre-commit config as it
cannot deal with the extra .git repo suffix anymore.

Since it is not required simple remove it to also make the new version
work with this.

https://github.com/zizmorcore/zizmor/issues/2358

Signed-off-by: Paul Holzinger <pholzing@redhat.com>
This commit is contained in:
Paul Holzinger 2026-09-01 18:38:28 +02:00
parent ce07c6f2f8
commit f5eb13dd87
No known key found for this signature in database
GPG key ID: EB145DD938A3CAF2

View file

@ -1,7 +1,7 @@
---
exclude: ^vendor/|^test/tools/vendor/
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks.git
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v5.0.0
hooks:
# `buildah-tests.diff` is generated by 'git format-patch' and includes