diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index fcca591f1..7f747bddd 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -4,13 +4,13 @@ repos: - repo: https://github.com/astral-sh/ruff-pre-commit - rev: v0.7.0 + rev: v0.8.1 hooks: - id: ruff args: [--fix, --exit-non-zero-on-fix] - id: ruff-format - repo: https://github.com/pre-commit/mirrors-mypy - rev: v1.11.2 + rev: v1.13.0 hooks: - id: mypy args: [ @@ -41,7 +41,7 @@ repos: - id: prettier exclude: tests_openshift/openshift_integration/test_data/ - repo: https://github.com/pre-commit/pre-commit-hooks - rev: v4.6.0 + rev: v5.0.0 hooks: - id: check-added-large-files - id: check-ast @@ -69,7 +69,7 @@ repos: - id: check-rebase args: - https://github.com/packit/packit-service.git - stages: [manual, push] + stages: [manual, pre-push] - repo: https://github.com/packit/requre rev: 0.8.4 hooks: @@ -94,16 +94,16 @@ repos: language: python types: [yaml] files: /tests_openshift.*\.yaml$ - stages: [manual, push] + stages: [manual, pre-push] - repo: https://github.com/gitleaks/gitleaks - rev: v8.18.4 + rev: v8.21.2 hooks: - id: gitleaks # The hook runs 'gitleaks protect --staged' which parses output of # 'git diff --staged', i.e. always passes in pre-push/manual stage. - stages: [commit] + stages: [pre-commit] - repo: https://github.com/python-jsonschema/check-jsonschema - rev: 0.29.2 + rev: 0.30.0 hooks: - id: check-github-workflows args: ["--verbose"]