Skip to content

Commit 166254a

Browse files
committed
chore: use paths for check in codeql workflow
1 parent 471cbab commit 166254a

File tree

1 file changed

+12
-2
lines changed

1 file changed

+12
-2
lines changed

.github/workflows/codeql.yml

+12-2
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,19 @@ name: "CodeQL"
1313

1414
on:
1515
push:
16-
branches: [ "main" ]
16+
branches:
17+
- main
18+
paths:
19+
- '**.js'
20+
- '**.ts'
21+
1722
pull_request:
18-
branches: [ "main" ]
23+
branches:
24+
- main
25+
paths:
26+
- '**.js'
27+
- '**.ts'
28+
1929
schedule:
2030
- cron: '42 16 * * 6'
2131

0 commit comments

Comments
 (0)