From 89bdb534e013b63a7a92d7d50a4e28de47f1911d Mon Sep 17 00:00:00 2001 From: rcourtman Date: Tue, 11 Nov 2025 15:32:48 +0000 Subject: [PATCH] Fix release workflow: fetch git tags for changelog generation actions/checkout@v4 does not fetch tags by default, causing the previous tag lookup to fail and fall back to comparing with the first commit SHA. Added fetch-depth: 0 to fetch all history including tags. --- .github/workflows/release.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index de770adf1..aea2c2735 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -117,6 +117,8 @@ jobs: steps: - name: Checkout repository uses: actions/checkout@v4 + with: + fetch-depth: 0 # Fetch all history for tags - name: Set up Go uses: actions/setup-go@v5