From e4c36236dfa66760672a6faa75efc82ab62c473e Mon Sep 17 00:00:00 2001 From: Sid <122173059+hugo-sid@users.noreply.github.com> Date: Sun, 3 Sep 2023 23:35:33 +0530 Subject: [PATCH] ci: setup `actions/checkout@v3` to fetch complete Git history (#32) Attempt to fix #31 --- .github/workflows/pages.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/pages.yml b/.github/workflows/pages.yml index 16f0d7cf..23cee7c9 100644 --- a/.github/workflows/pages.yml +++ b/.github/workflows/pages.yml @@ -35,6 +35,8 @@ jobs: steps: - name: Checkout uses: actions/checkout@v3 + with: + fetch-depth: 0 # Fetch all history for .GitInfo and .Lastmod - name: Setup Go uses: actions/setup-go@v4 with: