Skip to content

Commit 6dc896c

Browse files
authored
ci(CodeQL): add config (#521)
* ci(CodeQL): add config * lol
1 parent 74ebdb4 commit 6dc896c

File tree

2 files changed

+5
-7
lines changed

2 files changed

+5
-7
lines changed

.github/codeql/config.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
paths-ignore:
2+
- '__tests__/**'

.github/workflows/codeql-analysis.yml

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: "CodeQL"
1+
name: 'CodeQL'
22

33
on:
44
push:
@@ -17,19 +17,15 @@ jobs:
1717
contents: read
1818
security-events: write
1919

20-
strategy:
21-
fail-fast: false
22-
matrix:
23-
language: [ 'javascript' ]
24-
2520
steps:
2621
- name: Checkout repository
2722
uses: actions/checkout@v3
2823

2924
- name: Initialize CodeQL
3025
uses: github/codeql-action/init@v2
3126
with:
32-
languages: ${{ matrix.language }}
27+
config-file: ./.github/codeql/config.yml
28+
languages: javascript
3329

3430
- name: Perform CodeQL Analysis
3531
uses: github/codeql-action/analyze@v2

0 commit comments

Comments
 (0)