diff --git a/.github/workflows/checksums.yml b/.github/workflows/checksums.yml
index e62ab0e..d2ee2be 100644
--- a/.github/workflows/checksums.yml
+++ b/.github/workflows/checksums.yml
@@ -16,7 +16,7 @@ jobs:
           rm -rf /tmp/repo || true
           git clone --depth 1 ${{ github.server_url }}/${{ github.repository }}.git /tmp/repo
           cd /tmp/repo
-          git checkout ${{ github.ref }}
+          git checkout ${{ github.ref_name }}
           git lfs install --local
           git lfs pull
           IFS=$'\n'
@@ -30,5 +30,5 @@ jobs:
           git config --global user.email "ci@haozi.net"
           git config --global user.password "${{ secrets.GITHUB_TOKEN }}"
           git commit -m "chore: update checksums" || true
-          git push origin ${{ github.ref }}
+          git push origin ${{ github.ref_name }}
           rm -rf /tmp/repo