diff --git a/.github/workflows/submodule-pin-check.sh b/.github/workflows/submodule-pin-check.sh index ffabedf156..a9dc7dc135 100755 --- a/.github/workflows/submodule-pin-check.sh +++ b/.github/workflows/submodule-pin-check.sh @@ -10,7 +10,7 @@ for mod in `git submodule --quiet foreach 'echo $name'`; do branch=origin/HEAD if [[ -v exceptions[$mod] ]]; then branch=${exceptions[$mod]} - git -C $mod fetch `echo $branch | tr "/" " "` + #git -C $mod fetch `echo $branch | tr "/" " "` fi if ! git -C $mod merge-base --is-ancestor HEAD $branch; then diff --git a/.github/workflows/submodule-pin-check.yml b/.github/workflows/submodule-pin-check.yml index e40594cf8e..e459bad34d 100644 --- a/.github/workflows/submodule-pin-check.yml +++ b/.github/workflows/submodule-pin-check.yml @@ -13,6 +13,7 @@ jobs: - name: Checkout uses: actions/checkout@v4 with: + fetch-depth: 0 submodules: recursive - name: Check all submodules are ancestors of origin/HEAD or configured branch