diff --git a/.github/actions/checkout_submodules/action.yml b/.github/actions/checkout_submodules/action.yml index f8c27bc7f..e26330902 100644 --- a/.github/actions/checkout_submodules/action.yml +++ b/.github/actions/checkout_submodules/action.yml @@ -8,4 +8,4 @@ runs: git config --global url."https://github.com/".insteadOf "git@github.com:" auth_header="$(git config --local --get http.https://github.com/.extraheader)" git submodule sync --recursive - git -c "http.extraheader=$auth_header" -c protocol.version=2 submodule update --init --force --recursive + git -c "http.extraheader=$auth_header" -c protocol.version=2 submodule update --init --force --recursive --depth=1 diff --git a/.github/workflows/apk_main.yml b/.github/workflows/apk_main.yml index ad66c23b8..ebc2bb324 100644 --- a/.github/workflows/apk_main.yml +++ b/.github/workflows/apk_main.yml @@ -10,7 +10,9 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 + with: + fetch-depth: 0 - uses: ./.github/actions/checkout_submodules