Skip to content

Commit e020b72

Browse files
committed
chore: get full history for github release
1 parent c6b8ce8 commit e020b72

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

‎.github/workflows/cd.yaml‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -215,6 +215,9 @@ jobs:
215215
uses: actions/checkout@v6.0.1
216216
with:
217217
ref: ${{ inputs.ref || github.sha }}
218+
# Full history is needed to push the release tag; from a shallow clone git sends the
219+
# whole tree and GitHub rejects it as creating .github/workflows files.
220+
fetch-depth: 0
218221

219222
- name: Download Artifacts
220223
uses: actions/download-artifact@v7.0.0

0 commit comments

Comments
 (0)