From f0e1be62e01dbf72139108ad4f82cccf7c91404c Mon Sep 17 00:00:00 2001 From: Sam Foo Date: Wed, 24 Mar 2021 20:06:41 -0700 Subject: [PATCH] Fix github actions and shallow clones on goreleaser Signed-off-by: Sam Foo --- .github/workflows/nightly.yaml | 2 ++ .github/workflows/preflight-checks.yaml | 2 ++ 2 files changed, 4 insertions(+) diff --git a/.github/workflows/nightly.yaml b/.github/workflows/nightly.yaml index c64385f389..67b91959e7 100644 --- a/.github/workflows/nightly.yaml +++ b/.github/workflows/nightly.yaml @@ -47,6 +47,8 @@ jobs: container: goreleaser/goreleaser:v0.128.0-cgo steps: - uses: actions/checkout@v2 + with: + fetch-depth: 0 - name: Run goreleaser run: | git fetch --tags diff --git a/.github/workflows/preflight-checks.yaml b/.github/workflows/preflight-checks.yaml index b68d4d36d2..64c21e29ff 100644 --- a/.github/workflows/preflight-checks.yaml +++ b/.github/workflows/preflight-checks.yaml @@ -131,6 +131,8 @@ jobs: container: goreleaser/goreleaser:v0.128.0-cgo steps: - uses: actions/checkout@v2 + with: + fetch-depth: 0 - name: Run GoReleaser run: | goreleaser --skip-publish