From ea95bbf48322799dea29fd91c63e5c7ce7a3e3b2 Mon Sep 17 00:00:00 2001 From: mircearoata Date: Tue, 6 Feb 2024 22:01:35 +0100 Subject: [PATCH] Always fetch full repository in jobs that use goreleaser --- .github/workflows/push.yml | 2 ++ .github/workflows/release.yml | 2 ++ 2 files changed, 4 insertions(+) diff --git a/.github/workflows/push.yml b/.github/workflows/push.yml index 81eb0ac9..03b0164e 100644 --- a/.github/workflows/push.yml +++ b/.github/workflows/push.yml @@ -13,6 +13,8 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 + with: + fetch-depth: 0 - uses: actions/setup-go@v5 with: diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index aba8e3d2..24fc1362 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -16,6 +16,8 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 + with: + fetch-depth: 0 - uses: actions/setup-go@v5 with: