Skip to content

Commit d851e9f

Browse files
1 parent ad44f88 commit d851e9f

File tree

2 files changed

+21
-1
lines changed

2 files changed

+21
-1
lines changed

.github/codeql/codeql-config.yml

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
name: "CodeQL Config"
2+
3+
# Only analyze C# - no JavaScript
4+
languages:
5+
- csharp
6+
7+
# Disable auto-detection of other languages
8+
disable-default-queries: false
9+
10+
queries:
11+
- uses: security-extended
12+
- uses: security-and-quality
13+
14+
# Paths to exclude
15+
paths-ignore:
16+
- '**/*.js'
17+
- '**/*.ts'
18+
- '**/node_modules/**'
19+
- '**/wwwroot/**/*.js'
20+

.github/workflows/codeql.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ jobs:
3333
uses: github/codeql-action/init@v3
3434
with:
3535
languages: csharp
36-
queries: security-extended,security-and-quality
36+
config-file: ./.github/codeql/codeql-config.yml
3737

3838
- name: 🏗️ Build Projects
3939
run: |

0 commit comments

Comments
 (0)