ci(pre-commit): add check that build-test-rule paths must exist

This commit is contained in:
Xiao Xufeng
2023-08-05 03:21:23 +08:00
parent 080087a9a0
commit f51258ec18
6 changed files with 30 additions and 45 deletions
+9
View File
@@ -152,6 +152,15 @@ repos:
additional_dependencies:
- PyYAML == 5.3.1
- ruamel.yaml
- id: check-build-test-rules-path-exists
name: check path in .build-test-rules.yml exists
entry: tools/ci/check_build_test_rules.py check-exist
language: python
additional_dependencies:
- PyYAML == 5.3.1
always_run: true
pass_filenames: false
require_serial: true
- id: submodule-sbom-hash-check
name: Check if sbom-hash values for submodules in .gitmodules match submodules checkout hash in git tree
entry: python tools/test_sbom/test_submodules.py