Skip to content

Commit a67ae22

Browse files
committed
Skip CodeQL job when unrelated files are changed
1 parent 18c8b04 commit a67ae22

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

.github/workflows/codeql-analysis.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,19 @@ name: "CodeQL"
33
on:
44
push:
55
branches: [main]
6+
paths-ignore:
7+
- '**/*.md'
8+
- '**/*.yml'
9+
- '**/*.html'
10+
- '**/*.scss'
611
pull_request:
712
# The branches below must be a subset of the branches above
813
branches: [main]
14+
paths-ignore:
15+
- '**/*.md'
16+
- '**/*.yml'
17+
- '**/*.html'
18+
- '**/*.scss'
919
schedule:
1020
- cron: "28 20 * * 5"
1121

0 commit comments

Comments
 (0)