Skip to content

Commit b830f87

Browse files
authored
ci: Fix CodeQL by skipping tsconfig.json (#7607)
1 parent 9309b3b commit b830f87

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

.github/codeql/codeql-config.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
paths-ignore:
2+
# Our tsconfig files contain comments, which CodeQL complains about
3+
- '**/tsconfig.json'
4+
- '**/tsconfig.*.json'

.github/workflows/codeql-analysis.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,7 @@ jobs:
5050
- name: Initialize CodeQL
5151
uses: github/codeql-action/init@v2
5252
with:
53+
config-file: ./.github/codeql/codeql-config.yml
5354
languages: ${{ matrix.language }}
5455
# If you wish to specify custom queries, you can do so here or in a config file.
5556
# By default, queries listed here will override any specified in a config file.

0 commit comments

Comments
 (0)