Skip to content

Commit 95ecc46

Browse files
committed
ci: fix git-revision-date-localized-plugin warning in documentation build - Add fetch-depth: 0 to checkout action for full git history - Resolves warning about shallow git fetch affecting revision dates - Ensures accurate git revision dates in documentation
1 parent f1bb0c1 commit 95ecc46

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

.github/workflows/ci.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,10 @@ jobs:
3434
steps:
3535
- name: Checkout repository
3636
# Checks out your repository under $GITHUB_WORKSPACE, so your job can access it
37+
# fetch-depth: 0 ensures full git history for git-revision-date-localized-plugin
3738
uses: actions/checkout@v4
39+
with:
40+
fetch-depth: 0
3841

3942
- name: Set up Python ${{ matrix.python-version }}
4043
# Sets up the specified Python version

0 commit comments

Comments
 (0)