chore: update CodeQL workflow to include feature and fix branches and enhance JS scan script

This commit is contained in:
GitHub Actions
2026-02-18 08:13:55 +00:00
parent 24509dc84f
commit fd95611a25
6 changed files with 95 additions and 6 deletions

View File

@@ -2,9 +2,7 @@
# Pre-commit CodeQL JavaScript/TypeScript scan - CI-aligned
set -e
RED='\033[0;31m'
GREEN='\033[0;32m'
YELLOW='\033[1;33m'
BLUE='\033[0;34m'
NC='\033[0m'
@@ -22,7 +20,8 @@ echo "📦 Creating CodeQL database..."
codeql database create codeql-db-js \
--language=javascript \
--build-mode=none \
--source-root=frontend \
--source-root=. \
--codescanning-config=.github/codeql/codeql-config.yml \
--threads=0 \
--overwrite