diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index cb1b1d6c56..30933a024d 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 @@ -127,3 +129,4 @@ repos: rev: v0.13.0 hooks: - id: validate-sbom-manifest + stages: [post-commit]