esp-idf/.gitlab
Frantisek Hrbata db25ec2a37 feat: use esp-idf-sbom pre-commit plugin
Currently sbom manifest is checked only in .gitmodules and
this check is done in pre-commit and also in CI. Meaning it's running
three times(pre-commit before push if user has it enabled, in CI
as there is the pre-commit run again and again with test in CI). Since
esp-idf-sbom contains a full manifest validation support and pre-commit
plugin for it, let's use it. This removes all the current sbom testing
and replaces it with a signle pre-commit plugin which validates all
manifests files(sbom.yml, idf_component.yml, .gitmodules and also
referenced manifests) in repository. Note that this checks all
manifests, not only ones which were modified. The check is reasonably
fast though, so it should not cause any problem. The reason for
validating all manifest files is that we want to make sure that the sbom
information in .gitmodules is updated too and that the hash
recorded in .gitmodules is up-to-date. Meaning submodule update
would not trigger this plugin, because no manifest was changed.

Signed-off-by: Frantisek Hrbata <frantisek.hrbata@espressif.com>
2023-12-07 13:36:00 +01:00
..
ci feat: use esp-idf-sbom pre-commit plugin 2023-12-07 13:36:00 +01:00
dangerjs Merge branch 'fix/dangerjs_area_label_match' into 'master' 2023-04-02 14:00:22 +08:00
merge_request_templates dangerjs: support "No related issues" under "Related" section 2023-02-22 10:08:03 +08:00
CODEOWNERS gitlab: simplify approvals for backports (v5.1) 2023-04-19 12:19:55 +02:00