Skip to content

~95% on SimpleQA (e.g. Qwen3.6-27B on a 3090). Supports all local and cloud LLMs (llama.cpp, Ollama, Google, ...). 10+ search engines - arXiv, PubMed, your private documents. Everything Local & Encrypted.

fix(ci): restore contents:write to ui-full-shards caller (fixes startup_failure) (#4423)

LearningCircuit57a4f39db848
diff --git a/.github/workflows/ui-full-shards.yml b/.github/workflows/ui-full-shards.yml
index 5ec0f281dd..0c9b9093ee 100644
--- a/.github/workflows/ui-full-shards.yml
+++ b/.github/workflows/ui-full-shards.yml
@@ -36,9 +36,17 @@ jobs:
with:
strict-mode: true
permissions:
- # gh-pages deploy in docker-tests is gated on github.event_name == 'push' to main,
- # which never fires from this caller (label / workflow_dispatch). So we omit
- # contents: write here — narrower scope per OSSF Scorecard Token-Permissions.
- pull-requests: write # Needed by docker-tests pytest job for PR comments
+ # MUST match the scopes docker-tests.yml's jobs DECLARE, not just the
+ # ones whose steps run. Reusable-workflow permission validation is
+ # compile-time: a called job that declares `contents: write` (the
+ # pytest/gh-pages job) fails the whole run at startup with
+ # "requesting 'contents: write', but is only allowed 'contents: none'"
+ # if the caller grants less — producing a 0-job startup_failure with
+ # no logs. #4209 dropped contents:write here for OSSF Scorecard, which
+ # silently broke this wrapper on every run since (the gh-pages STEP is
+ # runtime-gated to push@main, but the JOB still declares the scope).
+ # ci-gate.yml grants the same pair, which is why it works.
+ contents: write # docker-tests jobs checkout + declare gh-pages deploy scope
+ pull-requests: write # docker-tests pytest job posts PR comments
secrets:
OPENROUTER_API_KEY: ${{ secrets.OPENROUTER_API_KEY }}