unsloth/.github/workflows
Daniel Han 8c606a70b5
studio: authenticate HF downloads across Studio CI workflows (#5370)
The Mac json-images job (run 25664825326) hit the 30 min step budget
while downloading 4 GiB of GGUF assets unauthenticated. The log shows
the explicit "You are sending unauthenticated requests to the HF Hub"
warning followed by 30 min of zero progress, then job cancellation.

macos-14, ubuntu-latest, and windows-latest runners share NAT egress
IP pools across the whole GitHub Actions fleet, so the anonymous
per-IP rate limit kicks in well before the file size alone would
suggest. An authenticated token shifts the budget to per-user.

Add HF_TOKEN: secrets.HF_TOKEN to every hf download step across the
nine studio CI workflows that pull from HF. The env is scoped to the
download step only, not the job, so every other step still runs
without HF_TOKEN in its environment and the GitHub secret-masking
layer handles log scrubbing.

For the Mac json-images step specifically, the model and mmproj
downloads now run in parallel under wait, and an ls -lhL after the
wait surfaces a partial download as an obvious failure instead of a
silent 30 min timeout on the next inference/load call.
2026-05-11 05:42:45 -07:00
..
consolidated-tests-ci.yml CI: scope GITHUB_TOKEN permissions, add MLX CI, unblock ~60 skipped tests (#5312) 2026-05-11 03:19:13 -07:00
lint-ci.yml CI: scope GITHUB_TOKEN permissions, add MLX CI, unblock ~60 skipped tests (#5312) 2026-05-11 03:19:13 -07:00
mlx-ci.yml CI: scope GITHUB_TOKEN permissions, add MLX CI, unblock ~60 skipped tests (#5312) 2026-05-11 03:19:13 -07:00
notebooks-ci.yml CI: scope GITHUB_TOKEN permissions, add MLX CI, unblock ~60 skipped tests (#5312) 2026-05-11 03:19:13 -07:00
release-desktop.yml Fix Studio desktop tray installer and titlebar and bux fixes (#5179) 2026-04-30 08:40:39 -07:00
security-audit.yml CI: scope GITHUB_TOKEN permissions, add MLX CI, unblock ~60 skipped tests (#5312) 2026-05-11 03:19:13 -07:00
stale.yml CI: scope GITHUB_TOKEN permissions, add MLX CI, unblock ~60 skipped tests (#5312) 2026-05-11 03:19:13 -07:00
studio-api-smoke.yml studio: authenticate HF downloads across Studio CI workflows (#5370) 2026-05-11 05:42:45 -07:00
studio-backend-ci.yml CI: scope GITHUB_TOKEN permissions, add MLX CI, unblock ~60 skipped tests (#5312) 2026-05-11 03:19:13 -07:00
studio-frontend-ci.yml CI: scope GITHUB_TOKEN permissions, add MLX CI, unblock ~60 skipped tests (#5312) 2026-05-11 03:19:13 -07:00
studio-inference-smoke.yml studio: authenticate HF downloads across Studio CI workflows (#5370) 2026-05-11 05:42:45 -07:00
studio-mac-api-smoke.yml studio: authenticate HF downloads across Studio CI workflows (#5370) 2026-05-11 05:42:45 -07:00
studio-mac-inference-smoke.yml studio: authenticate HF downloads across Studio CI workflows (#5370) 2026-05-11 05:42:45 -07:00
studio-mac-ui-smoke.yml studio: authenticate HF downloads across Studio CI workflows (#5370) 2026-05-11 05:42:45 -07:00
studio-mac-update-smoke.yml CI: scope GITHUB_TOKEN permissions, add MLX CI, unblock ~60 skipped tests (#5312) 2026-05-11 03:19:13 -07:00
studio-tauri-smoke.yml CI: scope GITHUB_TOKEN permissions, add MLX CI, unblock ~60 skipped tests (#5312) 2026-05-11 03:19:13 -07:00
studio-ui-smoke.yml studio: authenticate HF downloads across Studio CI workflows (#5370) 2026-05-11 05:42:45 -07:00
studio-update-smoke.yml CI: scope GITHUB_TOKEN permissions, add MLX CI, unblock ~60 skipped tests (#5312) 2026-05-11 03:19:13 -07:00
studio-windows-api-smoke.yml studio: authenticate HF downloads across Studio CI workflows (#5370) 2026-05-11 05:42:45 -07:00
studio-windows-inference-smoke.yml studio: authenticate HF downloads across Studio CI workflows (#5370) 2026-05-11 05:42:45 -07:00
studio-windows-ui-smoke.yml studio: authenticate HF downloads across Studio CI workflows (#5370) 2026-05-11 05:42:45 -07:00
studio-windows-update-smoke.yml CI: scope GITHUB_TOKEN permissions, add MLX CI, unblock ~60 skipped tests (#5312) 2026-05-11 03:19:13 -07:00
version-compat-ci.yml CI: scope GITHUB_TOKEN permissions, add MLX CI, unblock ~60 skipped tests (#5312) 2026-05-11 03:19:13 -07:00
wheel-smoke.yml CI: scope GITHUB_TOKEN permissions, add MLX CI, unblock ~60 skipped tests (#5312) 2026-05-11 03:19:13 -07:00