Skip to content

Commit 826a1eb

Browse files
committed
fix: add CodeQL build-mode none for python analysis
1 parent af4c1bc commit 826a1eb

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/ci.backend-api.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,10 +35,10 @@ jobs:
3535
python-version: '3.11'
3636

3737
- name: Initialize CodeQL
38-
uses: github/codeql-action/init@v4 # <-- Change from v3 to v4
38+
uses: github/codeql-action/init@v4
3939
with:
4040
languages: ${{ matrix.language }}
41-
build-mode: ${{ matrix.build-mode }}
41+
build-mode: none # <-- Add this line to prevent CodeQL build crashes for interpreted Python
4242

4343
- if: matrix.build-mode == 'manual'
4444
shell: bash

0 commit comments

Comments
 (0)