Skip to content

Commit e5b0128

Browse files
Merge pull request #2475 from VWS-Python/fetch-depth-0-with-comment
Set release fetch-depth to 0 with a comment why
2 parents 8ea0f15 + 59c9ef2 commit e5b0128

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

.github/workflows/release.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,13 @@ jobs:
2626

2727
steps:
2828
- uses: actions/checkout@v4
29+
with:
30+
# Fetch all history including tags.
31+
# Needed to find the latest tag.
32+
#
33+
# Also, avoids
34+
# https://github.com/stefanzweifel/git-auto-commit-action/issues/99.
35+
fetch-depth: 0
2936

3037
- name: Install uv
3138
uses: astral-sh/setup-uv@v5

0 commit comments

Comments
 (0)