Skip to content

Commit 0ca5840

Browse files
committed
codeql workflow should run for changes to src and scheduled or manual executions
1 parent 3d0ff56 commit 0ca5840

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

.github/workflows/codeql.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,13 @@
1212
name: "CodeQL Advanced"
1313

1414
on:
15+
workflow_dispatch:
1516
push:
16-
branches: ["main"]
17+
branches: [main]
18+
paths: [src/**]
1719
pull_request:
18-
branches: ["main"]
20+
branches: [main]
21+
paths: [src/**]
1922
schedule:
2023
- cron: "00 12 * * 5" # every Friday at 12:00
2124

0 commit comments

Comments
 (0)