Skip to content

Commit 8394bea

Browse files
committed
(build) run codeql and code format everytime except docs changes
1 parent 83951e7 commit 8394bea

File tree

2 files changed

+12
-0
lines changed

2 files changed

+12
-0
lines changed

.github/workflows/codeql-analysis.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,16 @@ on:
44
push:
55
branches:
66
- main
7+
paths:
8+
- '**'
9+
- '!docs/**'
710

811
pull_request:
912
branches:
1013
- main
14+
paths:
15+
- '**'
16+
- '!docs/**'
1117

1218
schedule:
1319
- cron: '0 12 * * *'

.github/workflows/format.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,16 @@ on:
66
- main
77
- 'fix/*'
88
- 'feature/*'
9+
paths:
10+
- '**'
11+
- '!docs/**'
912

1013
pull_request:
1114
branches:
1215
- main
16+
paths:
17+
- '**'
18+
- '!docs/**'
1319

1420
jobs:
1521
format:

0 commit comments

Comments
 (0)