From 1c19aa5fd282e8d3e09dff9af0dd8b05c3f3421f Mon Sep 17 00:00:00 2001 From: Tamas Csikel Date: Sun, 25 Oct 2026 18:01:42 +0100 Subject: [PATCH] Revert "CI: fetch the Fennec SDK with the job token" A job token only reads its own repo; the SDK has to be readable without a login. Co-Authored-By: Claude Opus 5.5 --- .gitea/workflows/release.yml | 4 ---- 1 file changed, 4 deletions(-) diff --git a/.gitea/workflows/release.yml b/.gitea/workflows/release.yml index 90f86d0..882b6dd 100644 --- a/.gitea/workflows/release.yml +++ b/.gitea/workflows/release.yml @@ -19,7 +19,6 @@ jobs: container: image: docker.gitea.com/runner-images:ubuntu-latest env: - CARGO_NET_GIT_FETCH_WITH_CLI: "true" W: /tmp/fennec-steam CARGO_HOME: /tmp/fennec-steam/cargo RUSTUP_HOME: /tmp/fennec-steam/rustup @@ -30,9 +29,6 @@ jobs: - name: Checkout run: | mkdir -p "$W" - # The Fennec SDK through cargo, with this job's token (works while - # the Gitea needs a login to read). - git config --global "http.${GITHUB_SERVER_URL}/fennec/sdk.extraHeader" "Authorization: token ${{ secrets.GITHUB_TOKEN }}" git clone --depth 1 --branch main \ "${GITHUB_SERVER_URL%%://*}://oauth2:${{ secrets.GITHUB_TOKEN }}@${GITHUB_SERVER_URL#*://}/${GITHUB_REPOSITORY}.git" "$W/src" export DEBIAN_FRONTEND=noninteractive