~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: split gitleaks workflows for PR vs security gate (#1899)
LearningCircuit4b8cdb9e1dbd
diff --git a/.github/workflows/gitleaks-main.yml b/.github/workflows/gitleaks-main.ymlnew file mode 100644index 0000000000..8001f2d28f--- /dev/null+++ b/.github/workflows/gitleaks-main.yml@@ -0,0 +1,54 @@+name: Gitleaks Main Branch Scan++# This workflow is specifically for the security release gate.+# It only scans the main branch history to avoid false positives+# from feature branches with intentional test data.++on:+ workflow_call: # Called by security-release-gate.yml+ workflow_dispatch:++permissions: {} # Minimal top-level for OSSF Scorecard Token-Permissions++jobs:+ gitleaks-scan:+ runs-on: ubuntu-latest+ permissions:+ contents: read+ security-events: write+ actions: read++ steps:+ - name: Harden the runner (Audit all outbound calls)+ uses: step-security/harden-runner@20cf305ff2072d973412fa9b1e3a4f227bda3c76 # v2.14.0+ with:+ egress-policy: audit++ - name: Checkout code+ uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2+ with:+ persist-credentials: false+ fetch-depth: 0+ ref: main # Always checkout main branch++ - name: Install Gitleaks+ run: |+ curl -sSfL https://github.com/gitleaks/gitleaks/releases/download/v8.21.2/gitleaks_8.21.2_linux_x64.tar.gz | tar -xz+ sudo mv gitleaks /usr/local/bin/++ - name: Run Gitleaks on main branch only+ run: |+ gitleaks detect \+ --config=.gitleaks.toml \+ --gitleaks-ignore-path=.gitleaksignore \+ --log-opts="origin/main" \+ --report-format=sarif \+ --report-path=gitleaks-results.sarif \+ --verbose+ id: gitleaks++ - name: Upload SARIF report+ if: always()+ uses: github/codeql-action/upload-sarif@v3+ with:+ sarif_file: gitleaks-results.sarifdiff --git a/.github/workflows/gitleaks.yml b/.github/workflows/gitleaks.ymlindex 4cd393d1a4..b24e38af68 100644--- a/.github/workflows/gitleaks.yml+++ b/.github/workflows/gitleaks.yml@@ -4,7 +4,6 @@ on:pull_request:branches: [ main, dev ]workflow_dispatch:- workflow_call: # Also called by security-release-gate.ymlschedule:# Run secret scan daily at 3 AM UTC- cron: '0 3 * * *'@@ -39,5 +38,3 @@ jobs:GITHUB_REPOSITORY: ${{ github.repository }}GITLEAKS_CONFIG: .gitleaks.tomlGITLEAKS_BASELINE_PATH: .gitleaksignore- # Scan only main branch history to avoid false positives from feature branches- GITLEAKS_LOG_OPTS: origin/maindiff --git a/.github/workflows/security-release-gate.yml b/.github/workflows/security-release-gate.ymlindex c99ee76f63..b9672dba3a 100644--- a/.github/workflows/security-release-gate.yml+++ b/.github/workflows/security-release-gate.yml@@ -140,10 +140,10 @@ jobs:actions: read# ============================================- # Secret detection (also runs on PRs)+ # Secret detection - scans only main branch history# ============================================gitleaks-scan:- uses: ./.github/workflows/gitleaks.yml+ uses: ./.github/workflows/gitleaks-main.ymlpermissions:contents: readsecurity-events: write