From a1476befe9b0fef18bd41607206795dd34e044d7 Mon Sep 17 00:00:00 2001 From: appleboy Date: Sat, 4 Jan 2025 16:58:30 +0800 Subject: [PATCH] ci: improve CI configuration and API integration - Set `fetch-depth` to `0` in the `actions/checkout` step to fetch all history 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 d8f7008..da8f92d 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