Skip to content

Commit

Permalink
Merge branch 'ci/pre_commit_sbom_validation_v4.4' into 'release/v4.4'
Browse files Browse the repository at this point in the history
ci: add sbom validation using pre-commit's post-commit stage (v4.4)

See merge request espressif/esp-idf!28231
  • Loading branch information
dobairoland committed Jan 3, 2024
2 parents 88aae9e + 471c326 commit bb8dd9d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .gitlab/ci/pre_check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,13 +24,15 @@ 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:
- .check_pre_commit_template
- .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_version:
# Don't run this for feature/bugfix branches, so that it is possible to modify
Expand Down

0 comments on commit bb8dd9d

Please sign in to comment.