Skip to content

Commit 6ad9490

Browse files
committed
fix: gitleaks disabled + bandit brought back
1 parent afd040e commit 6ad9490

2 files changed

Lines changed: 6 additions & 12 deletions

File tree

.github/workflows/ci-cd.yml

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -104,18 +104,6 @@ jobs:
104104
- name: 📥 Checkout Repository
105105
uses: actions/checkout@v4
106106

107-
- name: 🔍 Run GitHub Security Advisory
108-
uses: github/super-linter@v5
109-
env:
110-
DEFAULT_BRANCH: main
111-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
112-
VALIDATE_PYTHON_BLACK: false
113-
VALIDATE_PYTHON_FLAKE8: false
114-
VALIDATE_PYTHON_ISORT: false
115-
VALIDATE_PYTHON_MYPY: false
116-
VALIDATE_JAVASCRIPT_ES: false
117-
VALIDATE_TYPESCRIPT_ES: false
118-
VALIDATE_DOCKERFILE_HADOLINT: false
119107

120108
- name: 🔒 Frontend Security Audit
121109
working-directory: ./frontend

scripts/ci-local.sh

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,12 @@ if command -v uv &> /dev/null; then
7171
print_warning "mypy: Type checking issues found. Please review above."
7272
fi
7373

74+
print_status "Running Bandit (Security Check)..."
75+
if uv run bandit -r app/ -f json > /dev/null 2>&1; then
76+
print_success "Bandit: Security check passed!"
77+
else
78+
print_warning "Bandit: Security issues found. Please review."
79+
fi
7480

7581
else
7682
print_error "uv not found. Please install uv to run backend linting."

0 commit comments

Comments
 (0)