diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 420515e32a..0f5ebf0107 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -1,6 +1,8 @@ # See https://pre-commit.com for more information # See https://pre-commit.com/hooks.html for more hooks +default_stages: [commit] + repos: - repo: https://github.com/pre-commit/pre-commit-hooks rev: v4.0.1 @@ -166,3 +168,4 @@ repos: rev: v0.13.0 hooks: - id: validate-sbom-manifest + stages: [post-commit]