diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml
index 67d138e6665d123288101f3782249c2543be8e45..ec8f0f71c79ab9c5b43e45d47304e23db2a9cd29 100644
--- a/.github/workflows/ci.yaml
+++ b/.github/workflows/ci.yaml
@@ -20,7 +20,9 @@ jobs:
         fetch-depth: "0"
 
       # Get tags not fetched by the checkout action, needed for auto-versioning.
-    - run: "git fetch origin +refs/tags/*:refs/tags/*"
+    - name: "Finish checkout"
+      run: |
+        git fetch --tags
 
     # Get MS VC++ 9 aka Visual Studio 2008, required to build Python 2.7
     # extensions (zfec via Tahoe-LAFS).