Merge branch 'ci/fix-submodule-cache_v5.1' into 'release/v5.1'

ci: remove cached submodule metadata while checking with github (v5.1)

See merge request espressif/esp-idf!40097
This commit is contained in:
Sergei Silnov
2025-06-26 04:35:16 -03:00

View File

@@ -20,6 +20,7 @@ check_submodule_sync:
dependencies: [] dependencies: []
script: script:
- git submodule deinit --force . - git submodule deinit --force .
- rm -rf .git/modules # remove all the cached metadata
# setting the default remote URL to the public one, to resolve relative location URLs # setting the default remote URL to the public one, to resolve relative location URLs
- git config remote.origin.url ${PUBLIC_IDF_URL} - git config remote.origin.url ${PUBLIC_IDF_URL}
# check if all submodules are correctly synced to public repository # check if all submodules are correctly synced to public repository