Merge branch 'ci/pre_commit_sbom_validation_v5.1' into 'release/v5.1'

ci: add sbom validation using pre-commit's post-commit stage (v5.1)

See merge request espressif/esp-idf!28229
This commit is contained in:
Roland Dobai 2024-01-03 18:36:59 +08:00
commit 1dc2b953b0

View File

@ -17,6 +17,7 @@ check_pre_commit_master_release:
- .rules:protected
script:
- git diff-tree --no-commit-id --name-only -r $PIPELINE_COMMIT_SHA | xargs pre-commit run --files
- pre-commit run --hook-stage post-commit validate-sbom-manifest
check_pre_commit_MR:
extends:
@ -24,6 +25,7 @@ check_pre_commit_MR:
- .rules:mr
script:
- python ${CI_PROJECT_DIR}/tools/ci/ci_get_mr_info.py files ${CI_MERGE_REQUEST_SOURCE_BRANCH_NAME} | xargs pre-commit run --files
- pre-commit run --hook-stage post-commit validate-sbom-manifest
check_MR_style_dangerjs:
extends: