Skip to content

Commit 9a932c4

Browse files
committed
ci: Add fetch-tags: true to checkout action
When triggered off of a "push" we need tags to be checked out in order for the setuptools-scm plugin to find the latest tag.
1 parent e3d44c2 commit 9a932c4

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.github/workflows/ci.yaml

+2
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,8 @@ jobs:
2121
steps:
2222
- name: Checkout
2323
uses: actions/checkout@v4
24+
with:
25+
fetch-tags: true
2426

2527
- uses: actions/setup-python@v5
2628
with:

0 commit comments

Comments
 (0)