Skip to content

Commit 4e0bec5

Browse files
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 <dylan.reimerink@isovalent.com>
1 parent 1ed0eb8 commit 4e0bec5

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.github/workflows/deploy-gh-pages.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,8 @@ jobs:
3030
runs-on: ubuntu-latest
3131
steps:
3232
- uses: actions/checkout@v4
33+
with:
34+
fetch-depth: 0 # Important for the committers plugin
3335
- name: Cache plugin data
3436
id: cache-plugins
3537
uses: actions/cache@v4

0 commit comments

Comments
 (0)