From d60c43593523d83ce1c0fdfe3f5c92057092c53b Mon Sep 17 00:00:00 2001 From: Fu Hanxi Date: Tue, 9 Apr 2024 12:31:01 +0200 Subject: [PATCH] ci: add c5-bt-lib in submodule patterns also fix the pattern that triggers the check --- .gitlab/ci/rules.yml | 1 + .pre-commit-config.yaml | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.gitlab/ci/rules.yml b/.gitlab/ci/rules.yml index 118d85a3dc..a49c5795a9 100644 --- a/.gitlab/ci/rules.yml +++ b/.gitlab/ci/rules.yml @@ -141,6 +141,7 @@ - "components/unity/unity" - "components/heap/tlsf" - "components/bt/controller/lib_esp32c6/esp32c6-bt-lib" + - "components/bt/controller/lib_esp32c5/esp32c5-bt-lib" - "components/bt/esp_ble_mesh/lib/lib" - ".gitmodules" diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index bfefa6992c..5da5699504 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -188,7 +188,7 @@ repos: name: Check gitlab yaml files entry: tools/ci/gitlab_yaml_linter.py language: python - files: '\.gitlab-ci\.yml|\.gitlab/ci/.+\.yml' + files: '\.gitlab-ci\.yml|\.gitlab/ci/.+\.yml|\.gitmodules' pass_filenames: false additional_dependencies: - PyYAML == 5.3.1