Skip to content

Commit 9fdaebd

Browse files
committed
Use fetch-depth: 0 in every checkout action of package-publish.yml
1 parent 5dfbac4 commit 9fdaebd

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

.github/workflows/package-publish.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,8 @@ jobs:
4848
runs-on: ${{ (matrix.os == 'linux' && 'ubuntu') || matrix.os }}-latest
4949
steps:
5050
- uses: actions/checkout@v5
51+
with:
52+
fetch-depth: 0
5153
- uses: actions/setup-python@v5
5254
with:
5355
python-version: '3.13'
@@ -77,6 +79,8 @@ jobs:
7779
runs-on: ubuntu-latest
7880
steps:
7981
- uses: actions/checkout@v5
82+
with:
83+
fetch-depth: 0
8084
- name: Build sdist
8185
uses: PyO3/maturin-action@v1
8286
with:
@@ -114,7 +118,7 @@ jobs:
114118
steps:
115119
- uses: actions/checkout@v5
116120
with:
117-
fetch-depth: 0 # Fetch all history and tags
121+
fetch-depth: 0
118122
- name: Set up Python
119123
uses: actions/setup-python@v3
120124
with:

0 commit comments

Comments
 (0)