diff --git a/.gitlab-ci/lint.yml b/.gitlab-ci/lint.yml index 8783ad1de..8d83d62e9 100644 --- a/.gitlab-ci/lint.yml +++ b/.gitlab-ci/lint.yml @@ -8,8 +8,7 @@ pre-commit: PRE_COMMIT_HOME: ${CI_PROJECT_DIR}/.cache/pre-commit ANSIBLE_STDOUT_CALLBACK: default script: - - pre-commit run --all-files --show-diff-on-failure - - pre-commit run ansible-lint --hook-stage manual --all-files --show-diff-on-failure + - pre-commit run --hook-stage manual --all-files --show-diff-on-failure cache: key: pre-commit-2 paths: diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 93799ccc1..fd5603659 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -53,6 +53,7 @@ repos: - repo: local hooks: - id: collection-build-install + stages: [manual] name: Build and install kubernetes-sigs.kubespray Ansible collection language: python additional_dependencies: @@ -103,6 +104,7 @@ repos: pass_filenames: false - id: check-checksums-sorted + stages: [manual] name: Check that our checksums are correctly sorted by version entry: scripts/assert-sorted-checksums.yml language: python