From 02460fc838d2a573e7eb385c1381e3668c7d3002 Mon Sep 17 00:00:00 2001 From: Alessandro Yuichi Okimoto Date: Tue, 21 Jul 2026 19:45:13 +0900 Subject: [PATCH] ci: fetch full history and tags for goreleaser goreleaser needs the git tags to determine the release version; the default shallow checkout has none, which breaks workflow_dispatch runs. Co-authored-by: Cursor --- .github/workflows/release-binaries.yaml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/release-binaries.yaml b/.github/workflows/release-binaries.yaml index 8dcffc5f..7c0c0595 100644 --- a/.github/workflows/release-binaries.yaml +++ b/.github/workflows/release-binaries.yaml @@ -15,6 +15,10 @@ jobs: steps: - uses: actions/checkout@v4 + with: + # goreleaser derives the version from git tags; a shallow checkout + # has none (breaks workflow_dispatch re-runs of a release). + fetch-depth: 0 - name: Setup Go uses: actions/setup-go@v4