~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: resolve final shellcheck violations in remaining GitHub Actions workflows
LearningCircuitce0d13894187
diff --git a/.github/workflows/danger-zone-alert.yml b/.github/workflows/danger-zone-alert.ymlindex c5adb16bae..d0223f68ce 100644--- a/.github/workflows/danger-zone-alert.yml+++ b/.github/workflows/danger-zone-alert.yml@@ -33,15 +33,15 @@ jobs:id: analyzerun: |# 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/${{ github.base_ref }}...HEAD" | grep -E "(encrypted_db|sqlcipher|auth/|security/|password|encrypt|decrypt|crypto|\.secrets)" || true)if [ -z "$DANGEROUS_FILES" ]; thenecho "No dangerous files modified"- echo "has_dangers=false" >> $GITHUB_OUTPUT+ echo "has_dangers=false" >> "$GITHUB_OUTPUT"exit 0fi- echo "has_dangers=true" >> $GITHUB_OUTPUT+ echo "has_dangers=true" >> "$GITHUB_OUTPUT"# Analyze each dangerous fileRISK_LEVEL="HIGH"@@ -66,14 +66,14 @@ jobs:fidone- echo "risk_level=$RISK_LEVEL" >> $GITHUB_OUTPUT- echo "workflow_conclusion=$WORKFLOW_CONCLUSION" >> $GITHUB_OUTPUT- echo "encryption_modified=$ENCRYPTION_MODIFIED" >> $GITHUB_OUTPUT- echo "auth_modified=$AUTH_MODIFIED" >> $GITHUB_OUTPUT- echo "secrets_modified=$SECRETS_MODIFIED" >> $GITHUB_OUTPUT- echo "dangerous_files<<EOF" >> $GITHUB_OUTPUT- echo "$DANGEROUS_FILES" >> $GITHUB_OUTPUT- echo "EOF" >> $GITHUB_OUTPUT+ echo "risk_level=$RISK_LEVEL" >> "$GITHUB_OUTPUT"+ echo "workflow_conclusion=$WORKFLOW_CONCLUSION" >> "$GITHUB_OUTPUT"+ echo "encryption_modified=$ENCRYPTION_MODIFIED" >> "$GITHUB_OUTPUT"+ echo "auth_modified=$AUTH_MODIFIED" >> "$GITHUB_OUTPUT"+ echo "secrets_modified=$SECRETS_MODIFIED" >> "$GITHUB_OUTPUT"+ echo "dangerous_files<<EOF" >> "$GITHUB_OUTPUT"+ echo "$DANGEROUS_FILES" >> "$GITHUB_OUTPUT"+ echo "EOF" >> "$GITHUB_OUTPUT"- name: Post danger warning commentif: false # Disabled to reduce PR comment spam while keeping status checks and labelsdiff --git a/.github/workflows/extended-ui-tests.yml b/.github/workflows/extended-ui-tests.ymlindex f08f165033..1197549d56 100644--- a/.github/workflows/extended-ui-tests.yml+++ b/.github/workflows/extended-ui-tests.yml@@ -61,7 +61,7 @@ jobs:echo $! > server.pid# Wait for server- for i in {1..30}; do+ for _ in {1..30}; doif curl -f http://localhost:5000/api/v1/health 2>/dev/null; thenecho "Server ready"break@@ -174,5 +174,5 @@ jobs:if: always()run: |if [ -f server.pid ]; then- kill $(cat server.pid) || true+ kill "$(cat server.pid)" || truefidiff --git a/.github/workflows/followup-research-tests.yml b/.github/workflows/followup-research-tests.ymlindex 7c5da02fd5..9f6fed2bce 100644--- a/.github/workflows/followup-research-tests.yml+++ b/.github/workflows/followup-research-tests.yml@@ -114,7 +114,7 @@ jobs:if: always()run: |if [ -f server.pid ]; then- kill $(cat server.pid) || true+ kill "$(cat server.pid)" || truefi- name: Test Summarydiff --git a/.github/workflows/metrics-analytics-tests.yml b/.github/workflows/metrics-analytics-tests.ymlindex 4028420b32..0a71707dff 100644--- a/.github/workflows/metrics-analytics-tests.yml+++ b/.github/workflows/metrics-analytics-tests.yml@@ -66,7 +66,7 @@ jobs:echo $! > server.pid# Wait for server- for i in {1..30}; do+ for _ in {1..30}; doif curl -f http://localhost:5000/api/v1/health 2>/dev/null; thenecho "Server ready"break@@ -171,5 +171,5 @@ jobs:if: always()run: |if [ -f server.pid ]; then- kill $(cat server.pid) || true+ kill "$(cat server.pid)" || truefidiff --git a/.github/workflows/release.yml b/.github/workflows/release.ymlindex 06cb9bb2f0..ade2047a27 100644--- a/.github/workflows/release.yml+++ b/.github/workflows/release.yml@@ -34,10 +34,10 @@ jobs:- name: Determine versionid: versionrun: |- if [ "${{ github.event_name }}" == "push" ] && [[ "${{ github.ref }}" == refs/tags/* ]]; then+ if [ "${{ github.event_name }}" = "push" ] && [[ "${{ github.ref }}" == refs/tags/* ]]; then# Extract version from tag (remove 'v' prefix)VERSION="${GITHUB_REF#refs/tags/v}"- elif [ "${{ github.event_name }}" == "push" ] && [ "${{ github.ref }}" == "refs/heads/main" ]; then+ elif [ "${{ github.event_name }}" = "push" ] && [ "${{ github.ref }}" = "refs/heads/main" ]; then# Get version from __version__.py for main branch pushesVERSION=$(grep -oP '(?<=__version__ = ")[^"]*' src/local_deep_research/__version__.py)else@@ -96,7 +96,7 @@ jobs:**Full Changelog**: https://github.com/LearningCircuit/local-deep-research/compare/${PREVIOUS_TAG}...${{ steps.version.outputs.tag }}EOF- echo "changelog_file=changelog.md" >> $GITHUB_OUTPUT+ echo "changelog_file=changelog.md" >> "$GITHUB_OUTPUT"- name: Create GitHub Release using gh CLIif: steps.check_release.outputs.exists == 'false'diff --git a/.github/workflows/ui-tests.yml b/.github/workflows/ui-tests.ymlindex 3e29128ffc..f69d5b395a 100644--- a/.github/workflows/ui-tests.yml+++ b/.github/workflows/ui-tests.yml@@ -79,7 +79,7 @@ jobs:echo "Server is ready after $i seconds"breakfi- if ! kill -0 $(cat server.pid) 2>/dev/null; then+ if ! kill -0 "$(cat server.pid)" 2>/dev/null; thenecho "Server process died!"echo "Server log:"cat server.log@@ -122,6 +122,6 @@ jobs:if: always()run: |if [ -f server.pid ]; then- kill $(cat server.pid) || true+ kill "$(cat server.pid)" || truerm server.pidfi