diff --git a/.gitea/workflows/audit.yml b/.gitea/workflows/audit.yml index 2b0e1269..825a9384 100644 --- a/.gitea/workflows/audit.yml +++ b/.gitea/workflows/audit.yml @@ -85,9 +85,9 @@ jobs: echo "Pip in venv: $(pip --version)" echo "=== PYTHON DEPENDENCIES ===" - # Use poetry to install project dependencies - echo "Installing project dependencies with poetry..." - $POETRY_CMD install + # Use poetry to install dependencies only (skip current project) + echo "Installing dependencies with poetry (no-root mode)..." + $POETRY_CMD install --no-root echo "✅ Python dependencies installed!" else diff --git a/.gitea/workflows/fix.yml b/.gitea/workflows/fix.yml index baf7bd9f..1c2256a6 100644 --- a/.gitea/workflows/fix.yml +++ b/.gitea/workflows/fix.yml @@ -83,9 +83,9 @@ jobs: echo "Pip in venv: $(pip --version)" echo "=== PYTHON DEPENDENCIES ===" - # Use poetry to install project dependencies - echo "Installing project dependencies with poetry..." - $POETRY_CMD install + # Use poetry to install dependencies only (skip current project) + echo "Installing dependencies with poetry (no-root mode)..." + $POETRY_CMD install --no-root echo "✅ Python dependencies installed!" echo "=== SECURITY FIXES ===" diff --git a/.gitea/workflows/security-scanning.yml b/.gitea/workflows/security-scanning.yml index f167c3ad..cb207c9c 100644 --- a/.gitea/workflows/security-scanning.yml +++ b/.gitea/workflows/security-scanning.yml @@ -83,9 +83,9 @@ jobs: echo "Pip in venv: $(pip --version)" echo "=== PYTHON DEPENDENCIES ===" - # Use poetry to install project dependencies - echo "Installing project dependencies with poetry..." - $POETRY_CMD install + # Use poetry to install dependencies only (skip current project) + echo "Installing dependencies with poetry (no-root mode)..." + $POETRY_CMD install --no-root echo "✅ Running security scan..." venv/bin/pip install safety bandit