Skip to content

Commit 776be79

Browse files
authored
ci: add paths-ignore to E2E and CI workflows (#271)
Skip workflow runs for docs-only commits (markdown, LICENSE, CHANGELOG). workflow_dispatch and schedule triggers are unaffected. Closes #258
1 parent 7f50703 commit 776be79

2 files changed

Lines changed: 18 additions & 0 deletions

File tree

.github/workflows/ci.yaml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,20 @@ name: CI
33
on:
44
push:
55
branches: [main, develop]
6+
paths-ignore:
7+
- '**/*.md'
8+
- 'docs/**'
9+
- 'LICENSE'
10+
- 'CHANGELOG*'
11+
- '.github/*.md'
612
pull_request:
713
branches: [main, develop]
14+
paths-ignore:
15+
- '**/*.md'
16+
- 'docs/**'
17+
- 'LICENSE'
18+
- 'CHANGELOG*'
19+
- '.github/*.md'
820

921
jobs:
1022
unicode:

.github/workflows/e2e.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,12 @@ concurrency:
77
on:
88
push:
99
branches: [develop]
10+
paths-ignore:
11+
- '**/*.md'
12+
- 'docs/**'
13+
- 'LICENSE'
14+
- 'CHANGELOG*'
15+
- '.github/*.md'
1016
workflow_dispatch:
1117
inputs:
1218
image_tag:

0 commit comments

Comments
 (0)