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: resolve security workflow issues

LearningCircuitbf79bcbd7b7b
diff --git a/.github/workflows/ai-code-reviewer.yml b/.github/workflows/ai-code-reviewer.yml
index b7a5d28917..7dbf74260f 100644
--- a/.github/workflows/ai-code-reviewer.yml
+++ b/.github/workflows/ai-code-reviewer.yml
@@ -33,10 +33,12 @@ jobs:
sudo apt-get install -y jq
- name: Get PR diff
+ env:
+ BASE_REF: ${{ github.event.pull_request.base.ref }}
run: |
# Fetch the base branch (works for any target branch, not just main)
- git fetch origin ${{ github.event.pull_request.base.ref }}
- git diff origin/${{ github.event.pull_request.base.ref }}...HEAD --no-color > diff.txt
+ git fetch origin "$BASE_REF"
+ git diff "origin/$BASE_REF...HEAD" --no-color > diff.txt
- name: Download AI reviewer script
run: |
diff --git a/.github/workflows/checkov.yml b/.github/workflows/checkov.yml
index 6e319e48ce..fff75f7d27 100644
--- a/.github/workflows/checkov.yml
+++ b/.github/workflows/checkov.yml
@@ -63,7 +63,8 @@ jobs:
run: |
echo "=== Scanning docker-compose files ==="
# Strict mode: fail on security issues
- checkov --framework docker_compose \
+ # Use yaml framework for docker-compose files
+ checkov --framework yaml \
--file docker-compose.yml \
--file docker-compose.gpu.override.yml \
--file docker-compose.tts.yml \
diff --git a/.github/workflows/danger-zone-alert.yml b/.github/workflows/danger-zone-alert.yml
index 84a77d00df..3c13d0943e 100644
--- a/.github/workflows/danger-zone-alert.yml
+++ b/.github/workflows/danger-zone-alert.yml
@@ -39,9 +39,11 @@ jobs:
- name: Analyze dangerous changes
id: analyze
+ env:
+ BASE_REF: ${{ github.base_ref }}
run: |
# Get list of modified files
- DANGEROUS_FILES=$(git diff --name-only "origin/${{ github.base_ref }}...HEAD" | grep -E "(encrypted_db|sqlcipher|auth/|security/|password|encrypt|decrypt|crypto|\.secrets)" || true)
+ DANGEROUS_FILES=$(git diff --name-only "origin/$BASE_REF...HEAD" | grep -E "(encrypted_db|sqlcipher|auth/|security/|password|encrypt|decrypt|crypto|\.secrets)" || true)
if [ -z "$DANGEROUS_FILES" ]; then
echo "No dangerous files modified"