Skip to content

Commit b79c23b

Browse files
Update code-scans.yaml
1 parent 69af0a4 commit b79c23b

1 file changed

Lines changed: 31 additions & 0 deletions

File tree

.github/workflows/code-scans.yaml

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -96,3 +96,34 @@ jobs:
9696
name: bandit-report
9797
path: bandit-report.html
9898
retention-days: 30
99+
100+
# -----------------------------
101+
# 3) CodeQL Analysis
102+
# -----------------------------
103+
codeql_scan:
104+
name: CodeQL Analysis
105+
runs-on: ubuntu-latest
106+
permissions:
107+
security-events: write
108+
contents: read
109+
actions: read
110+
strategy:
111+
fail-fast: false
112+
matrix:
113+
language: [ 'python', 'javascript' ]
114+
steps:
115+
- name: Checkout
116+
uses: actions/checkout@v4
117+
118+
- name: Initialize CodeQL
119+
uses: github/codeql-action/init@v3
120+
with:
121+
languages: ${{ matrix.language }}
122+
123+
- name: Autobuild
124+
uses: github/codeql-action/autobuild@v3
125+
126+
- name: Perform CodeQL Analysis
127+
uses: github/codeql-action/analyze@v3
128+
with:
129+
category: "/language:${{matrix.language}}"

0 commit comments

Comments
 (0)