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 environment declarations to jobs referencing secrets (#2828)

LearningCircuitfcc3376b42e0
diff --git a/.github/workflows/ai-code-reviewer.yml b/.github/workflows/ai-code-reviewer.yml
index 991eab569a..0390ea4ed8 100644
--- a/.github/workflows/ai-code-reviewer.yml
+++ b/.github/workflows/ai-code-reviewer.yml
@@ -10,6 +10,7 @@ jobs:
comprehensive-review:
name: AI Code Review
runs-on: ubuntu-latest
+ environment: ci
if: github.event.action == 'opened' || (github.event.action == 'labeled' && github.event.label.name == 'ai_code_review')
permissions:
contents: read
diff --git a/.github/workflows/claude-code-review.yml b/.github/workflows/claude-code-review.yml
index 5b66f5e9dd..018adc4c57 100644
--- a/.github/workflows/claude-code-review.yml
+++ b/.github/workflows/claude-code-review.yml
@@ -11,6 +11,7 @@ jobs:
# Only run when 'claude-review' label is added (opt-in)
if: github.event.label.name == 'claude-review'
runs-on: ubuntu-latest
+ environment: ci
permissions:
contents: read
pull-requests: write
diff --git a/.github/workflows/docker-tests.yml b/.github/workflows/docker-tests.yml
index 0dbba8889a..77a70648fa 100644
--- a/.github/workflows/docker-tests.yml
+++ b/.github/workflows/docker-tests.yml
@@ -128,6 +128,7 @@ jobs:
runs-on: ubuntu-latest
name: All Pytest Tests + Coverage
needs: build-test-image
+ environment: ci
permissions:
contents: write # Needed for gh-pages deployment
pull-requests: write # Needed for PR comments
diff --git a/.github/workflows/e2e-research-test.yml b/.github/workflows/e2e-research-test.yml
index 458033207c..5d083cba40 100644
--- a/.github/workflows/e2e-research-test.yml
+++ b/.github/workflows/e2e-research-test.yml
@@ -10,6 +10,7 @@ jobs:
research:
name: LDR Research
runs-on: ubuntu-latest
+ environment: ci
if: github.event.label.name == 'ldr_research' || github.event.label.name == 'ldr_research_static'
permissions:
contents: read
diff --git a/.github/workflows/puppeteer-e2e-tests.yml b/.github/workflows/puppeteer-e2e-tests.yml
index c977907878..b09825d627 100644
--- a/.github/workflows/puppeteer-e2e-tests.yml
+++ b/.github/workflows/puppeteer-e2e-tests.yml
@@ -30,6 +30,7 @@ jobs:
github.event_name != 'pull_request' ||
github.event.label.name == 'test:puppeteer' ||
github.event.label.name == 'test:e2e'
+ environment: ci
permissions:
contents: read
pull-requests: write
diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml
index 28a8a3b510..00c731cc2f 100644
--- a/.github/workflows/release.yml
+++ b/.github/workflows/release.yml
@@ -348,6 +348,7 @@ jobs:
needs: [build, provenance]
if: ${{ !cancelled() && needs.build.result == 'success' && needs.provenance.result == 'success' && needs.build.outputs.release_exists == 'false' }}
runs-on: ubuntu-latest
+ environment: release
permissions:
contents: write
pull-requests: read
@@ -396,6 +397,7 @@ jobs:
needs: [build, create-release]
if: ${{ !cancelled() && needs.build.result == 'success' && needs.create-release.result == 'success' && needs.build.outputs.release_exists == 'false' }}
runs-on: ubuntu-latest
+ environment: release
permissions:
contents: read
diff --git a/.github/workflows/sync-main-to-dev.yml b/.github/workflows/sync-main-to-dev.yml
index e774827974..3eba7d7ebd 100644
--- a/.github/workflows/sync-main-to-dev.yml
+++ b/.github/workflows/sync-main-to-dev.yml
@@ -12,6 +12,7 @@ permissions: {} # Minimal top-level for OSSF Scorecard Token-Permissions
jobs:
sync-main-to-dev:
runs-on: ubuntu-latest
+ environment: ci
# Only run if the push is not from a merge of dev branch
if: ${{ !contains(github.event.head_commit.message, 'Merge pull request') || !contains(github.event.head_commit.message, 'from LearningCircuit/local-deep-research:dev') }}