From 76f323315732c261271c4a131a937a09bbebc46b Mon Sep 17 00:00:00 2001 From: Chris Lu Date: Sat, 22 Aug 2026 09:45:33 -0700 Subject: [PATCH] ci: do not persist credentials in the worker release checkout The upload step is handed a token explicitly; a cargo build script should not find another one sitting in the checkout's git config. Claude-Session: https://claude.ai/code/session_01Rkp1Mw5E89Jp6dzJFYiMrm --- .github/workflows/rust_binaries_release.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/rust_binaries_release.yml b/.github/workflows/rust_binaries_release.yml index 6f1bbcf23..ce38c1d9d 100644 --- a/.github/workflows/rust_binaries_release.yml +++ b/.github/workflows/rust_binaries_release.yml @@ -131,6 +131,10 @@ jobs: steps: - uses: actions/checkout@v7 + with: + # The upload step is handed a token explicitly; a cargo build script + # should not find another one sitting in the checkout's git config. + persist-credentials: false - name: Install Rust toolchain uses: dtolnay/rust-toolchain@stable