esp-idf/.gitlab
Frantisek Hrbata 0f898539a0 ci: add sbom validation using pre-commit's post-commit stage
With 09ba070b7e ("fix: allow to use older pre-commit hook version")
and b93cc581a5 ("fix: set default pre-commit hook stages to pre-commit..")
we set the default pre-commit hook stage to commit/pre-commit, which avoids
running the pre-commit plugins/hooks multiple times for different stages.
Unfortunately this also affects "pre-commit run" used in CI and
now it runs only plugins which are by default using the
commit/pre-commit stage. Meaning the sbom validation, which uses
post-commit, is not run at all. This adds an explicit pre-commit command
for validate-sbom-manifest plugin, which needs to be started in
post-commit stage.

Signed-off-by: Frantisek Hrbata <frantisek.hrbata@espressif.com>
2024-01-02 10:47:11 +01:00
..
ci ci: add sbom validation using pre-commit's post-commit stage 2024-01-02 10:47:11 +01:00
merge_request_templates ci: update Mixed Template, Release notes header 2023-11-29 10:03:33 +01:00
CODEOWNERS ci(danger-github): replace local Danger code by org action 2023-12-05 12:56:58 +01:00