diff --git a/.gitea/workflows/wheel-pipeline.yaml b/.gitea/workflows/wheel-pipeline.yaml index fe2f953..0ff7659 100644 --- a/.gitea/workflows/wheel-pipeline.yaml +++ b/.gitea/workflows/wheel-pipeline.yaml @@ -17,7 +17,11 @@ jobs: steps: - name: Checkout repository - uses: actions/checkout@v4 + run: | + git init + git remote add origin "${GITHUB_SERVER_URL}/${GITHUB_REPOSITORY}.git" + git fetch --depth 1 origin "${GITHUB_SHA}" + git checkout "${GITHUB_SHA}" - name: Show environment info run: |