Skip to content

Commit 34826e1

Browse files
committed
ci(codeql): analyse github actions
1 parent 3ffc7f7 commit 34826e1

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

.github/workflows/codeql.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,12 @@ jobs:
2525
build:
2626
name: CodeQL Analysis
2727
if: github.event.pull_request.draft == false
28+
strategy:
29+
matrix:
30+
languages: ["actions", "javascript-typescript"]
2831
runs-on: ubuntu-latest
2932
permissions:
33+
contents: read
3034
security-events: write
3135
steps:
3236
- name: Check out repo
@@ -38,8 +42,10 @@ jobs:
3842
- name: Initialise CodeQL
3943
uses: github/codeql-action/init@5f8171a638ada777af81d42b55959a643bb29017 # v3.28.12
4044
with:
41-
languages: javascript-typescript
4245
config-file: ./.github/codeql-config.yml
46+
languages: ${{ matrix.languages }}
4347

4448
- name: Perform CodeQL analysis
4549
uses: github/codeql-action/analyze@5f8171a638ada777af81d42b55959a643bb29017 # v3.28.12
50+
with:
51+
category: "/language:${{matrix.language}}"

0 commit comments

Comments
 (0)