From ae08df16846a0c3f02675d6696caeaa20c7177cf Mon Sep 17 00:00:00 2001 From: Dylan Reimerink Date: Sun, 29 Dec 2024 18:42:22 +0100 Subject: [PATCH] Fix git committers plugin and its cache By default, the repo gets checked out with a depth of 1 which causes the git committers plugin to think all commits are authored and updated on the current date. This causes it to not be able to reuse cache and makes it emit the wrong dates in the page headers. Signed-off-by: Dylan Reimerink --- .github/workflows/deploy-gh-pages.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/deploy-gh-pages.yaml b/.github/workflows/deploy-gh-pages.yaml index 35438fc..090f065 100644 --- a/.github/workflows/deploy-gh-pages.yaml +++ b/.github/workflows/deploy-gh-pages.yaml @@ -30,6 +30,8 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 + with: + fetch-depth: 0 # Important for the committers plugin - name: Cache plugin data id: cache-plugins uses: actions/cache@v4