Merge branch 'ci/fix-submodule-cache' into 'master'

ci: remove cached submodule metadata while checking with github

See merge request espressif/esp-idf!40081
This commit is contained in:
Fu Hanxi
2025-06-24 11:22:52 +02:00

View File

@@ -16,6 +16,7 @@ check_submodule_sync:
dependencies: []
script:
- 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
- git config remote.origin.url ${PUBLIC_IDF_URL}
# check if all submodules are correctly synced to public repository