Skip to content

Commit f124b33

Browse files
Update code-scans.yaml
1 parent 9d653ef commit f124b33

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
@@ -102,3 +102,34 @@ jobs:
102102
name: bandit-report
103103
path: bandit-report.html
104104
retention-days: 30
105+
106+
# -----------------------------
107+
# 3) CodeQL Analysis
108+
# -----------------------------
109+
codeql_scan:
110+
name: CodeQL Analysis
111+
runs-on: ubuntu-latest
112+
permissions:
113+
security-events: write
114+
contents: read
115+
actions: read
116+
strategy:
117+
fail-fast: false
118+
matrix:
119+
language: [ 'python', 'javascript' ]
120+
steps:
121+
- name: Checkout
122+
uses: actions/checkout@v4
123+
124+
- name: Initialize CodeQL
125+
uses: github/codeql-action/init@v3
126+
with:
127+
languages: ${{ matrix.language }}
128+
129+
- name: Autobuild
130+
uses: github/codeql-action/autobuild@v3
131+
132+
- name: Perform CodeQL Analysis
133+
uses: github/codeql-action/analyze@v3
134+
with:
135+
category: "/language:${{matrix.language}}"

0 commit comments

Comments
 (0)