From 6f3cb233a908365c08cee3893429b19cf4bd6dfb Mon Sep 17 00:00:00 2001 From: pancho horrillo Date: Sat, 29 Feb 2020 13:20:06 +0100 Subject: [PATCH] chore(workflows): bump actions/checkout to v2 actions/checkout v2 clones shallow repos by default. I've set the fetch-depth to 0 to prevent this, because goreleaser requires the full history available locally in order to generate the release notes automatically. --- .github/workflows/release.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 3d86e08..a2d3062 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -11,7 +11,10 @@ jobs: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v1 + - uses: actions/checkout@v2 + with: + fetch-depth: 0 + - uses: actions/setup-go@v1 with: go-version: 1.14