diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 1481615..2f08504 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -29,9 +29,8 @@ jobs: - name: Checkout uses: actions/checkout@v2 - - - name: Unshallow - run: git fetch --prune --unshallow + with: + fetch-depth: 0 - name: Set up Go uses: actions/setup-go@v2 @@ -63,9 +62,8 @@ jobs: - name: Checkout uses: actions/checkout@v2 - - - name: Unshallow - run: git fetch --prune --unshallow + with: + fetch-depth: 0 - name: Set up Go uses: actions/setup-go@v2 diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index ca37ee0..28360d1 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -25,9 +25,8 @@ jobs: - name: Checkout uses: actions/checkout@v2 - - - name: Unshallow - run: git fetch --prune --unshallow + with: + fetch-depth: 0 - name: Install run: yarn install diff --git a/README.md b/README.md index c7ceb40..28b8d8f 100644 --- a/README.md +++ b/README.md @@ -60,8 +60,6 @@ jobs: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} ``` -> **IMPORTANT**: note the `Unshallow` step. It is required for the changelog to work correctly. - ### Run on new tag If you want to run GoReleaser only on new tag, you can use this event: