From ab76479beea499b7a8dfaad060f33737c26b6387 Mon Sep 17 00:00:00 2001 From: Han Sol Jin Date: Wed, 17 Aug 2022 09:36:09 -0700 Subject: [PATCH] workflow: fetch-depth 0 apindex doesn't actually work with our workflow, as: - GitHub actions clean clones everything, making the modified time nearly identical - apindex doesn't read git history So why bother cloning the whole stack, only clone the top commit. --- .github/workflows/publish.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 1fcf82b..7427a4e 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -17,6 +17,7 @@ jobs: with: persist-credentials: false submodules: recursive + fetch-depth: 0 - name: Install apindex-v2 run: |