Skip to content

Commit c467d5d

Browse files
authored
ci : change workflow logic (#1270)
Skip CI runs when changes are only made to docs ref: [issue #835] Co-authored-by: Matt Stajduhar <mstatv@users.noreply.github.com>
1 parent d2e88cb commit c467d5d

File tree

4 files changed

+12
-0
lines changed

4 files changed

+12
-0
lines changed

.github/workflows/e2e-test.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,12 @@
33
name: Integration & End to End tests
44
on:
55
pull_request:
6+
paths-ignore:
7+
- 'docs/**'
68
branches: [ main, next ]
79
push:
10+
paths-ignore:
11+
- 'docs/**'
812
branches:
913
- main
1014
- next

.github/workflows/pr.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@ concurrency:
88
cancel-in-progress: true
99
on:
1010
pull_request:
11+
paths-ignore:
12+
- 'docs/**'
1113
branches: [ main, v1, v2, next ]
1214
workflow_dispatch:
1315
jobs:

.github/workflows/snapshot-releases.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@ concurrency:
88
cancel-in-progress: true
99
on:
1010
push:
11+
paths-ignore:
12+
- 'docs/**'
1113
branches: [ main, v1, v2, next ]
1214
workflow_dispatch:
1315
jobs:

.github/workflows/sonar.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,12 @@ concurrency:
88
cancel-in-progress: true
99
on:
1010
push:
11+
paths-ignore:
12+
- 'docs/**'
1113
branches: [ main ]
1214
pull_request:
15+
paths-ignore:
16+
- 'docs/**'
1317
types: [ opened, synchronize, reopened ]
1418

1519
jobs:

0 commit comments

Comments
 (0)