Skip to content

Commit 190bc62

Browse files
committed
[CI] Skip jobs on documentation-only changes
1 parent af0f338 commit 190bc62

2 files changed

Lines changed: 12 additions & 0 deletions

File tree

.github/workflows/ci.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,18 @@ on:
44
push:
55
branches:
66
- main
7+
paths-ignore:
8+
- '**.md'
9+
- 'doc/**'
10+
- 'LICENSE'
711

812
pull_request:
913
branches:
1014
- main
15+
paths-ignore:
16+
- '**.md'
17+
- 'doc/**'
18+
- 'LICENSE'
1119

1220
# Cancel any in-progress run for the same ref (branch/PR) when a new commit is pushed.
1321
concurrency:

.github/workflows/zizmor.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,13 @@ on:
44
push:
55
branches:
66
- main
7+
paths:
8+
- '.github/workflows/**'
79
pull_request:
810
branches:
911
- '**'
12+
paths:
13+
- '.github/workflows/**'
1014

1115
permissions: {}
1216

0 commit comments

Comments
 (0)