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: Add top-level permissions to 5 additional workflow files

LearningCircuit3322775f011b
diff --git a/.github/workflows/ai-code-reviewer.yml b/.github/workflows/ai-code-reviewer.yml
index 1d4db2e282..11d88c52db 100644
--- a/.github/workflows/ai-code-reviewer.yml
+++ b/.github/workflows/ai-code-reviewer.yml
@@ -4,6 +4,11 @@ on:
pull_request:
types: [labeled]
+permissions:
+ contents: read
+ pull-requests: write
+ issues: write
+
jobs:
comprehensive-review:
name: AI Code Review
diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml
index 015970d320..7f455184b6 100644
--- a/.github/workflows/codeql.yml
+++ b/.github/workflows/codeql.yml
@@ -19,6 +19,10 @@ on:
schedule:
- cron: '45 5 * * 0'
+permissions:
+ contents: read
+ security-events: write
+
jobs:
analyze:
name: Analyze (${{ matrix.language }})
diff --git a/.github/workflows/container-security.yml b/.github/workflows/container-security.yml
index 223833675e..917024517e 100644
--- a/.github/workflows/container-security.yml
+++ b/.github/workflows/container-security.yml
@@ -10,6 +10,10 @@ on:
# Run container security scan daily at 4 AM UTC
- cron: '0 4 * * *'
+permissions:
+ contents: read
+ security-events: write
+
jobs:
trivy-scan:
runs-on: ubuntu-latest
diff --git a/.github/workflows/devskim.yml b/.github/workflows/devskim.yml
index 27b1dbbc02..2ea7da40b6 100644
--- a/.github/workflows/devskim.yml
+++ b/.github/workflows/devskim.yml
@@ -10,6 +10,10 @@ on:
# Run security linter daily at 10 AM UTC
- cron: '0 10 * * *'
+permissions:
+ contents: read
+ security-events: write
+
jobs:
devskim-scan:
name: DevSkim Security Linter
diff --git a/.github/workflows/docker-publish.yml b/.github/workflows/docker-publish.yml
index 1f3bf33258..8dfee8cd60 100644
--- a/.github/workflows/docker-publish.yml
+++ b/.github/workflows/docker-publish.yml
@@ -4,6 +4,10 @@ on:
release:
types: [created]
+permissions:
+ contents: read
+ packages: write
+
jobs:
build-amd64:
name: Build AMD64 Image
diff --git a/.github/workflows/gitleaks.yml b/.github/workflows/gitleaks.yml
index 351e37ff7c..c293593737 100644
--- a/.github/workflows/gitleaks.yml
+++ b/.github/workflows/gitleaks.yml
@@ -10,6 +10,10 @@ on:
# Run secret scan daily at 3 AM UTC
- cron: '0 3 * * *'
+permissions:
+ contents: read
+ security-events: write
+
jobs:
gitleaks:
runs-on: ubuntu-latest
diff --git a/.github/workflows/hadolint.yml b/.github/workflows/hadolint.yml
index 81fda8d3e8..65039aeef7 100644
--- a/.github/workflows/hadolint.yml
+++ b/.github/workflows/hadolint.yml
@@ -16,6 +16,10 @@ on:
# Run weekly on Tuesday at 9 AM UTC
- cron: '0 9 * * 2'
+permissions:
+ contents: read
+ security-events: write
+
jobs:
hadolint:
name: Hadolint Dockerfile Analysis
diff --git a/.github/workflows/label-fixed-in-dev.yml b/.github/workflows/label-fixed-in-dev.yml
index 89422f3dc7..a01e40b45d 100644
--- a/.github/workflows/label-fixed-in-dev.yml
+++ b/.github/workflows/label-fixed-in-dev.yml
@@ -4,6 +4,10 @@ on:
types: [closed]
branches: [dev]
+permissions:
+ issues: write
+ pull-requests: read
+
jobs:
label-linked-issues:
if: github.event.pull_request.merged == true
diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml
index 4b35677dd2..4918136a35 100644
--- a/.github/workflows/publish.yml
+++ b/.github/workflows/publish.yml
@@ -4,6 +4,10 @@ on:
release:
types: [created]
+permissions:
+ contents: read
+ id-token: write
+
jobs:
# Build frontend if package.json exists (isolated, no secrets)
build-frontend:
diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml
index a68cfb3b8e..3f83cad4c1 100644
--- a/.github/workflows/release.yml
+++ b/.github/workflows/release.yml
@@ -18,6 +18,10 @@ on:
type: boolean
default: false
+permissions:
+ contents: write
+ pull-requests: read
+
jobs:
create-release:
runs-on: ubuntu-latest
diff --git a/.github/workflows/semgrep.yml b/.github/workflows/semgrep.yml
index 7b9fb8370e..295a1272c6 100644
--- a/.github/workflows/semgrep.yml
+++ b/.github/workflows/semgrep.yml
@@ -10,6 +10,10 @@ on:
# Run security scan daily at 5 AM UTC
- cron: '0 5 * * *'
+permissions:
+ contents: read
+ security-events: write
+
jobs:
semgrep-scan:
runs-on: ubuntu-latest
diff --git a/.github/workflows/update-dependencies.yml b/.github/workflows/update-dependencies.yml
index ac83979189..fb54c74f29 100644
--- a/.github/workflows/update-dependencies.yml
+++ b/.github/workflows/update-dependencies.yml
@@ -15,6 +15,10 @@ on:
schedule:
- cron: '0 8 * * 3' # every Wednesday at 08:00 UTC
+permissions:
+ contents: write
+ pull-requests: write
+
jobs:
update:
name: 👛 Update with PDM
diff --git a/.github/workflows/update-npm-dependencies.yml b/.github/workflows/update-npm-dependencies.yml
index 8f566d98af..be43c8ca99 100644
--- a/.github/workflows/update-npm-dependencies.yml
+++ b/.github/workflows/update-npm-dependencies.yml
@@ -15,6 +15,10 @@ on:
schedule:
- cron: '0 8 * * 4' # every Thursday at 08:00 UTC (day after PDM updates)
+permissions:
+ contents: write
+ pull-requests: write
+
jobs:
update:
name: 📦 Update with NPM
diff --git a/.github/workflows/update-precommit-hooks.yml b/.github/workflows/update-precommit-hooks.yml
index 617587e364..40a5e98b8d 100644
--- a/.github/workflows/update-precommit-hooks.yml
+++ b/.github/workflows/update-precommit-hooks.yml
@@ -4,6 +4,10 @@ on:
schedule:
- cron: '0 8 * * 5' # every Friday at 08:00 UTC (day after NPM updates)
+permissions:
+ contents: write
+ pull-requests: write
+
jobs:
update:
name: 🪝 Update Pre-commit Hooks