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.

feat(ci): declarative label set for PR triage (1/5) (#3857)

LearningCircuitd8034e27a46b
diff --git a/.github/labels.yml b/.github/labels.yml
new file mode 100644
index 0000000000..44a3edda47
--- /dev/null
+++ b/.github/labels.yml
@@ -0,0 +1,25 @@
+# PR triage labels managed declaratively by .github/workflows/labels-sync.yml.
+# This file is an additive sync — labels not listed here are left untouched.
+# Persistent labels (applied at PR open by .github/workflows/pr-triage.yml):
+- name: external-contributor
+ color: 'cccccc'
+ description: PR from someone outside the maintainer team
+- name: first-time-contributor
+ color: 'c2e0c6'
+ description: First contribution to this repo
+- name: bot
+ color: 'ededed'
+ description: PR opened by an automated account
+- name: needs-rework
+ color: 'e99695'
+ description: PR needs substantive rework before it can be reviewed in depth
+# Lifecycle labels (toggled per-PR by .github/workflows/pr-triage.yml):
+- name: needs-codeowner-review
+ color: 'fbca04'
+ description: Awaiting first review from a global codeowner
+- name: awaiting-author
+ color: 'd4c5f9'
+ description: Codeowner requested changes; ball is with author
+- name: awaiting-codeowner
+ color: 'fef2c0'
+ description: Author has responded; needs codeowner re-review
diff --git a/.github/workflows/labels-sync.yml b/.github/workflows/labels-sync.yml
new file mode 100644
index 0000000000..005e509baa
--- /dev/null
+++ b/.github/workflows/labels-sync.yml
@@ -0,0 +1,46 @@
+name: Sync repo labels
+
+# Declaratively syncs labels listed in .github/labels.yml.
+# Additive only: labels not listed here are left untouched (delete-other-labels: false).
+# Lifecycle labels (needs-codeowner-review, awaiting-author, awaiting-codeowner) are
+# created by this workflow but toggled per-PR by .github/workflows/pr-triage.yml.
+
+on:
+ push:
+ branches: [main]
+ paths:
+ - '.github/labels.yml'
+ - '.github/workflows/labels-sync.yml'
+ workflow_dispatch:
+
+# No concurrency group — intentionally omitted, matching .github/workflows/label-fixed-in-dev.yml.
+# Previous attempts (#3554, reverted #3599) showed that cancel-in-progress on label workflows
+# kills useful in-flight runs. Sync is idempotent so concurrent runs are safe.
+
+permissions: {} # Minimal top-level for OSSF Scorecard Token-Permissions
+
+jobs:
+ sync-labels:
+ runs-on: ubuntu-latest
+ timeout-minutes: 5
+ permissions:
+ contents: read
+ issues: write
+ steps:
+ - name: Harden the runner (Audit all outbound calls)
+ uses: step-security/harden-runner@a5ad31d6a139d249332a2605b85202e8c0b78450 # v2.19.1
+ with:
+ egress-policy: audit
+
+ - name: Checkout
+ uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
+ with:
+ persist-credentials: false
+ sparse-checkout: .github/labels.yml
+ sparse-checkout-cone-mode: false
+
+ - name: Sync labels
+ uses: EndBug/label-sync@52074158190acb45f3077f9099fea818aa43f97a # v2.3.3
+ with:
+ config-file: .github/labels.yml
+ delete-other-labels: false