Skip to content

Commit a722dec

Browse files
authored
ci: add codeql github workflows scanning (#614)
1 parent 5f3d878 commit a722dec

1 file changed

Lines changed: 6 additions & 4 deletions

File tree

.github/workflows/codeql.yml

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,10 @@ jobs:
3131
actions: read
3232
contents: read
3333
security-events: write
34+
strategy:
35+
fail-fast: false
36+
matrix:
37+
language: [javascript, actions]
3438

3539
steps:
3640
- name: Checkout repository
@@ -40,7 +44,7 @@ jobs:
4044
- name: Initialize CodeQL
4145
uses: github/codeql-action/init@45775bd8235c68ba998cffa5171334d58593da47 # v3.28.15
4246
with:
43-
languages: javascript
47+
languages: ${{ matrix.language }}
4448
# If you wish to specify custom queries, you can do so here or in a config file.
4549
# By default, queries listed here will override any specified in a config file.
4650
# Prefix the list here with "+" to use these queries and those in the config file.
@@ -61,6 +65,4 @@ jobs:
6165
# ./location_of_script_within_repo/buildscript.sh
6266

6367
- name: Perform CodeQL Analysis
64-
uses: github/codeql-action/analyze@45775bd8235c68ba998cffa5171334d58593da47 # v3.28.15
65-
with:
66-
category: "/language:javascript"
68+
uses: github/codeql-action/analyze@45775bd8235c68ba998cffa5171334d58593da47 # v3.28.15

0 commit comments

Comments
 (0)