Skip to content

Commit 73260dc

Browse files
committed
CI: fetch tags for release dry-run validation
PR #2177 made the release workflow checkout shallow, so the dry-run tag validation now needs tags fetched explicitly while keeping history shallow.
1 parent 8c51738 commit 73260dc

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

.github/workflows/release.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,9 @@ jobs:
8787
- name: Checkout Source
8888
uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3
8989
with:
90+
# Dry-run validation resolves the requested tag locally; we need tags but not history.
9091
fetch-depth: 1
92+
fetch-tags: true
9193

9294
- name: Check release tag and draft state
9395
env:

0 commit comments

Comments
 (0)