From d53e6fb7911408c7b12d3e2a9c3d91bde2983239 Mon Sep 17 00:00:00 2001 From: Elephant Liu Date: Fri, 11 Jul 2025 17:57:22 +0800 Subject: [PATCH] chore: fix checkout step in release action --- .github/workflows/release.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 97ac119..4ea94dc 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -11,6 +11,10 @@ jobs: # include git history for setuptools-scm fetch-depth: 20 fetch-tags: true + + # work around a bug of checkout + # https://github.com/actions/checkout/issues/1467 + ref: ${{ github.ref }} - name: Set up Python uses: actions/setup-python@v3 - name: build