From 1eefcf634853b30606a7cdef9fdee40aa010e942 Mon Sep 17 00:00:00 2001 From: Fu Hanxi Date: Thu, 5 Jan 2023 12:26:17 +0800 Subject: [PATCH 1/2] ci: add missing submodule pattern --- .gitlab/ci/rules.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.gitlab/ci/rules.yml b/.gitlab/ci/rules.yml index 8056783b16..e2339c1682 100644 --- a/.gitlab/ci/rules.yml +++ b/.gitlab/ci/rules.yml @@ -197,6 +197,7 @@ - "components/spiffs/spiffs" - "components/unity/unity" - "components/heap/tlsf" + - "components/bt/controller/lib_esp32c6/esp32c6-bt-lib" - ".gitmodules" # for jobs: example_test*flash_encryption_wifi_high_traffic From 9e25fff9d3d5ed226e6eb1ea9a9f48cfe427584a Mon Sep 17 00:00:00 2001 From: Fu Hanxi Date: Thu, 5 Jan 2023 12:51:45 +0800 Subject: [PATCH 2/2] ci: fix pre-commit check hook --- .pre-commit-config.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 8f1a8aa09a..47d79ad078 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -87,7 +87,7 @@ repos: name: Check rules.yml all rules have at lease one job applied, all rules needed exist entry: tools/ci/check_rules_yml.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