Skip to content

Commit 010edf7

Browse files
Merge pull request #2504 from VWS-Python/fetch-depth-0-with-comment
Set release fetch-depth to 0 with a comment why
2 parents 751c661 + d8c738d commit 010edf7

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

.github/workflows/release.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,12 @@ jobs:
3030
# See
3131
# https://github.com/stefanzweifel/git-auto-commit-action?tab=readme-ov-file#push-to-protected-branches
3232
token: ${{ secrets.RELEASE_PAT }}
33+
# Fetch all history including tags.
34+
# Needed to find the latest tag.
35+
#
36+
# Also, avoids
37+
# https://github.com/stefanzweifel/git-auto-commit-action/issues/99.
38+
fetch-depth: 0
3339

3440
- name: Install uv
3541
uses: astral-sh/setup-uv@v5

0 commit comments

Comments
 (0)