set GH_REPO for CCfW (#22993)

Co-authored-by: Brent Westbrook <36778786+ntBre@users.noreply.github.com>
This commit is contained in:
Carl Meyer
2026-01-30 15:47:32 -08:00
committed by GitHub
parent 48a4d9d706
commit 77a1740f21
+5
View File
@@ -7,6 +7,11 @@ if ! command -v gh &> /dev/null; then
apt-get install -y -qq gh
fi
# Set GH_REPO so `gh` works even when the git remote points to a local proxy
if [ -n "${CLAUDE_ENV_FILE:-}" ]; then
echo 'export GH_REPO=astral-sh/ruff' >> "$CLAUDE_ENV_FILE"
fi
# Install clippy and rustfmt for the active toolchain.
rustup component add clippy rustfmt