Skip to content

Commit 793fe17

Browse files
committed
CI: Configure Python analysis
1 parent aa90e97 commit 793fe17

File tree

3 files changed

+14
-10
lines changed

3 files changed

+14
-10
lines changed

.github/codeql/codeql-actions-config.yml

Lines changed: 0 additions & 4 deletions
This file was deleted.
File renamed without changes.

.github/workflows/codeql.yml

Lines changed: 14 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ jobs:
9595
id: init
9696
with:
9797
languages: javascript
98-
config-file: ./.github/codeql/codeql-config.yml
98+
config-file: ./.github/codeql/codeql-config-javascript.yml
9999
tools: ${{ matrix.tools }}
100100
# confirm steps.init.outputs.codeql-path points to the codeql binary
101101
- name: Print CodeQL Version
@@ -108,11 +108,16 @@ jobs:
108108
with:
109109
category: "/language:javascript"
110110

111-
112-
analyze-actions:
111+
analyze-other:
113112
runs-on: ubuntu-latest
114113

115114
strategy:
115+
matrix:
116+
include:
117+
- language: actions
118+
build-mode: none
119+
- language: python
120+
build-mode: none
116121
fail-fast: false
117122

118123
permissions:
@@ -125,9 +130,12 @@ jobs:
125130
- name: Initialize CodeQL
126131
uses: ./init
127132
with:
128-
languages: actions
129-
config-file: ./.github/codeql/codeql-actions-config.yml
133+
languages: ${{ matrix.language }}
134+
build-mode: ${{ matrix.build-mode }}
135+
config: >
136+
queries:
137+
- uses: security-and-quality
130138
- name: Perform CodeQL Analysis
131139
uses: ./analyze
132140
with:
133-
category: "/language:actions"
141+
category: "/language:${{ matrix.language }}"

0 commit comments

Comments
 (0)