Skip to content

Commit f4e66f8

Browse files
committed
fix: update CodeQL config to properly exclude template directories
Signed-off-by: kaifcoder <kaifmohd2014@gmail.com>
1 parent ba08bb7 commit f4e66f8

File tree

1 file changed

+4
-7
lines changed

1 file changed

+4
-7
lines changed

.github/codeql/codeql-config.yml

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

33
# Exclude template directories that contain placeholder syntax
4+
# Templates have {{name}} placeholders that aren't valid syntax
45
paths-ignore:
5-
- templates/
6-
- templates/**
7-
8-
# Include only actual source code
9-
paths:
10-
- bin/
11-
- scripts/
6+
- "templates/**"
7+
- "**/node_modules/**"
8+
- "**/test-workspace/**"

0 commit comments

Comments
 (0)