diff --git a/.gitea/workflows/smoke.yml b/.gitea/workflows/smoke.yml index 3ab42d0..5f621f9 100644 --- a/.gitea/workflows/smoke.yml +++ b/.gitea/workflows/smoke.yml @@ -14,14 +14,12 @@ jobs: UPLOADS_DIR: uploads steps: - - name: Checkout + - name: Checkout (pure git) run: | git init - git remote add origin $GITHUB_SERVER_URL/$GITHUB_REPOSITORY - git fetch origin $GITHUB_REF - git checkout FETCH_HEAD - - uses: actions/checkout@v4 + git remote add origin "$GITHUB_SERVER_URL/$GITHUB_REPOSITORY" + git fetch --depth=1 origin "$GITHUB_SHA" + git checkout -q "$GITHUB_SHA" - name: Write SSH key run: |