From 59c9ef211db09d06b6114a9530bb710bf5373a0d Mon Sep 17 00:00:00 2001 From: Adam Dangoor Date: Mon, 30 Dec 2024 11:04:10 +0000 Subject: [PATCH] Set release fetch-depth to 0 with a comment why --- .github/workflows/release.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 3332fb373..7790aca81 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -26,6 +26,13 @@ jobs: steps: - uses: actions/checkout@v4 + with: + # Fetch all history including tags. + # Needed to find the latest tag. + # + # Also, avoids + # https://github.com/stefanzweifel/git-auto-commit-action/issues/99. + fetch-depth: 0 - name: Install uv uses: astral-sh/setup-uv@v5