Skip to content

Commit 5af0700

Browse files
committed
fix: only run code ql for changes in python files
1 parent 1f5814e commit 5af0700

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

.github/workflows/codeql.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,12 @@ name: "CodeQL"
1414
on:
1515
push:
1616
branches: [ "main" ]
17+
paths:
18+
- '**/*.py'
1719
pull_request:
18-
# The branches below must be a subset of the branches above
1920
branches: [ "main" ]
21+
paths:
22+
- '**/*.py'
2023
schedule:
2124
- cron: '1 * * * 1'
2225

0 commit comments

Comments
 (0)