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): add benchmark-needed label on advanced_search_system changes (#3531)

LearningCircuit5bad806bd297
diff --git a/.github/workflows/advanced-search-reminder.yml b/.github/workflows/advanced-search-reminder.yml
new file mode 100644
index 0000000000..60c7a3becf
--- /dev/null
+++ b/.github/workflows/advanced-search-reminder.yml
@@ -0,0 +1,40 @@
+name: Advanced-search change reminder
+
+on:
+ # pull_request (not pull_request_target) — fork PRs get a read-only
+ # token and addLabels will 403 silently. Intentional: advisory label
+ # is only meaningful for internal-branch PRs anyway.
+ pull_request:
+ types: [opened, synchronize, reopened]
+ paths:
+ - 'src/local_deep_research/advanced_search_system/**'
+
+permissions: {} # Minimal top-level for OSSF Scorecard Token-Permissions
+
+jobs:
+ label:
+ runs-on: ubuntu-latest
+ permissions:
+ pull-requests: write
+ steps:
+ - name: Harden the runner (Audit all outbound calls)
+ uses: step-security/harden-runner@f808768d1510423e83855289c910610ca9b43176 # v2.17.0
+ with:
+ egress-policy: audit
+
+ - name: Apply benchmark-needed label
+ uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0
+ with:
+ script: |
+ // Advisory only — asks reviewers to consider running
+ // src/local_deep_research/benchmarks/compare_configurations()
+ // before merging changes that can affect research quality.
+ // The label's description (set on the label itself in repo
+ // settings) carries the reminder text so reviewers see it
+ // on hover without needing an inline comment.
+ await github.rest.issues.addLabels({
+ owner: context.repo.owner,
+ repo: context.repo.repo,
+ issue_number: context.issue.number,
+ labels: ['benchmark-needed']
+ });