Skip to content

Commit 4ddcd81

Browse files
committed
ci: Add fetch-depth: 0 as a workaround get tags on checkout
We should not be required to add this, but fetch-tags: true seems broken. See actions/checkout#1781 for a second opinion, and possible resolution.
1 parent 7222c39 commit 4ddcd81

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

Diff for: .github/workflows/ci.yaml

+3
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,9 @@ jobs:
2323
uses: actions/checkout@v4
2424
with:
2525
fetch-tags: true
26+
# XXX: fetch-depth: 0 should not be required. But this seems to be an issue
27+
# with the checkout action: https://github.com/actions/checkout/issues/1781
28+
fetch-depth: 0
2629

2730
- name: Git describe and tag list
2831
run: |

0 commit comments

Comments
 (0)