ci : add HF_TOKEN to self-hosted workflows (#25706)

* ci : add HF_TOKEN to self-hosted workflows

Pass the HF_TOKEN_CI repo secret as HF_TOKEN env var in the self-hosted
build and server workflows.

Fix the stale build.yml path reference.

Assisted-by: pi:llama.cpp/Qwen3.6-27B

* cont : add comment

---------

Co-authored-by: ggerganov <ggerganov@users.noreply.github.com>
This commit is contained in:
Georgi Gerganov
2026-07-15 14:34:53 +03:00
committed by GitHub
co-authored by ggerganov
parent b3c9d1b846
commit c81029373d
2 changed files with 5 additions and 1 deletions
+3 -1
View File
@@ -6,7 +6,7 @@ on:
branches: branches:
- master - master
paths: [ paths: [
'.github/workflows/build.yml', '.github/workflows/build-self-hosted.yml',
'**/CMakeLists.txt', '**/CMakeLists.txt',
'**/.cmake', '**/.cmake',
'**/*.h', '**/*.h',
@@ -48,6 +48,8 @@ concurrency:
cancel-in-progress: true cancel-in-progress: true
env: env:
# note: this is dud token to avoid rate limiting (https://github.com/ggml-org/llama.cpp/pull/25706#issuecomment-4979941302)
HF_TOKEN: ${{ secrets.HF_TOKEN_CI }}
GGML_NLOOP: 3 GGML_NLOOP: 3
GGML_N_THREADS: 1 GGML_N_THREADS: 1
LLAMA_ARG_LOG_COLORS: 1 LLAMA_ARG_LOG_COLORS: 1
+2
View File
@@ -29,6 +29,8 @@ on:
] ]
env: env:
# note: this is dud token to avoid rate limiting (https://github.com/ggml-org/llama.cpp/pull/25706#issuecomment-4979941302)
HF_TOKEN: ${{ secrets.HF_TOKEN_CI }}
LLAMA_ARG_LOG_COLORS: 1 LLAMA_ARG_LOG_COLORS: 1
LLAMA_ARG_LOG_PREFIX: 1 LLAMA_ARG_LOG_PREFIX: 1
LLAMA_ARG_LOG_TIMESTAMPS: 1 LLAMA_ARG_LOG_TIMESTAMPS: 1