Skip to content

Commit

Permalink
fix: full fetch depth for nightly builds
Browse files Browse the repository at this point in the history
  • Loading branch information
erikburt committed Feb 26, 2025
1 parent 5403123 commit ef4739d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/build-publish-develop-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,8 @@ jobs:
with:
persist-credentials: false
ref: ${{ env.CHECKOUT_REF }}
fetch-depth: 1
# nightly builds require a full clone for goreleaser to work
fetch-depth: ${{ needs.image-tag.outputs.release-type == 'nightly' && '0' || '1' }}

- name: Setup Github Token
id: token
Expand Down

0 comments on commit ef4739d

Please sign in to comment.