From 67cd964f1338474966d4bc674a9e6815492d06e7 Mon Sep 17 00:00:00 2001 From: appleboy Date: Sat, 16 Nov 2024 10:05:31 +0800 Subject: [PATCH] ci(github): improve CI workflows and API integration - Add `fetch-depth: 0` to the `actions/checkout` step in the `goreleaser` GitHub workflow Signed-off-by: appleboy --- .github/workflows/goreleaser.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/goreleaser.yml b/.github/workflows/goreleaser.yml index 624f0bb..ddf1036 100644 --- a/.github/workflows/goreleaser.yml +++ b/.github/workflows/goreleaser.yml @@ -14,6 +14,8 @@ jobs: steps: - name: Checkout repository uses: actions/checkout@v4 + with: + fetch-depth: 0 - name: Setup go uses: actions/setup-go@v5