Skip to content

Commit

Permalink
Update fetch depth in apk main
Browse files Browse the repository at this point in the history
  • Loading branch information
InvictusRMC committed Feb 28, 2024
1 parent 6742de4 commit 3ab67e5
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/actions/checkout_submodules/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
4 changes: 3 additions & 1 deletion .github/workflows/apk_main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 3ab67e5

Please sign in to comment.