~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.
Python academiaanthropicarxivbravedeep-researchencryptionhome-automationhomeserverlocallocal-deep-researchlocal-llmmistralollamaopenaipubmedresearchresearch-toolretrieval-augmented-generationsearxngself-hosted
fix(triage): grant pull-requests:write — labels on PRs need it, not issues:write (#5039)
LearningCircuitb809b9f815d5
diff --git a/.github/workflows/pr-triage.yml b/.github/workflows/pr-triage.ymlindex aca579dbfd..c8a0cc0775 100644--- a/.github/workflows/pr-triage.yml+++ b/.github/workflows/pr-triage.yml@@ -42,8 +42,14 @@ jobs:runs-on: ubuntu-latesttimeout-minutes: 5permissions:- issues: write # PR labels live on the underlying issue resource- pull-requests: read # listFiles for path-derived topic labels+ # Label mutations on a PULL REQUEST are governed by the pull-requests+ # permission, not issues — issues:write alone yields 403 "Resource+ # not accessible by integration" on every internal-PR label call+ # (#4957 shipped with only issues:write and silently applied nothing;+ # the 403 was swallowed by the fork-PR catch below). pull-requests:+ # write also covers the listFiles read for topic labels.+ pull-requests: write+ issues: write # createLabel-style pure-issue operations, if ever addedsteps:- name: Harden the runner (Audit all outbound calls)uses: step-security/harden-runner@9af89fc71515a100421586dfdb3dc9c984fbf411 # v2.19.4@@ -71,9 +77,18 @@ jobs:// log and continue so the workflow run stays green and a// maintainer can apply labels manually instead of seeing// a red check on every fork contribution.+ //+ // Swallow the 403 ONLY for actual forks: a 403 on a same-repo+ // PR is a real bug (wrong `permissions:` block) and must fail+ // loudly — a permissions regression hid behind this catch for+ // a week because it treated every 403 as "probably a fork".+ // head.repo is null when the fork was deleted; treat as fork.+ const isFork =+ pr.head.repo == null ||+ pr.head.repo.full_name !== `${context.repo.owner}/${context.repo.repo}`;const isReadOnlyTokenError = (err) => {- if (err.status !== 403) return false;- console.log(`Label call returned 403 (read-only token, likely a fork PR). Skipping.`);+ if (err.status !== 403 || !isFork) return false;+ console.log(`Label call returned 403 (read-only fork token). Skipping.`);return true;};