Skip to content

Commit 83f5dfc

Browse files
authored
Do not trigger CI workflows when docs are modified (#6809)
Add `paths-ignore` to do not run CI when certain files are modified.
1 parent 5ca6c50 commit 83f5dfc

File tree

4 files changed

+52
-8
lines changed

4 files changed

+52
-8
lines changed

.github/workflows/ci-docker-wormhole.yml

Lines changed: 13 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,19 @@
11
name: CI-Docker-Wormhole
22

33
on:
4-
pull_request: {}
5-
push: { branches: [ main ] }
4+
pull_request:
5+
paths-ignore:
6+
- 'docs/**'
7+
- 'mkdocs.yml'
8+
- 'README.md'
9+
- 'RELEASING.md'
10+
push:
11+
branches: [ main ]
12+
paths-ignore:
13+
- 'docs/**'
14+
- 'mkdocs.yml'
15+
- 'README.md'
16+
- 'RELEASING.md'
617

718
concurrency:
819
group: "${{ github.workflow }}-${{ github.head_ref || github.sha }}"

.github/workflows/ci-examples.yml

Lines changed: 13 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,19 @@
11
name: CI-Examples
22

33
on:
4-
pull_request: {}
5-
push: { branches: [ main ] }
4+
pull_request:
5+
paths-ignore:
6+
- 'docs/**'
7+
- 'mkdocs.yml'
8+
- 'README.md'
9+
- 'RELEASING.md'
10+
push:
11+
branches: [ main ]
12+
paths-ignore:
13+
- 'docs/**'
14+
- 'mkdocs.yml'
15+
- 'README.md'
16+
- 'RELEASING.md'
617

718
concurrency:
819
group: "${{ github.workflow }}-${{ github.head_ref || github.sha }}"

.github/workflows/ci-rootless.yml

Lines changed: 13 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,19 @@
11
name: CI-Docker-Rootless
22

33
on:
4-
pull_request: {}
5-
push: { branches: [ main ] }
4+
pull_request:
5+
paths-ignore:
6+
- 'docs/**'
7+
- 'mkdocs.yml'
8+
- 'README.md'
9+
- 'RELEASING.md'
10+
push:
11+
branches: [ main ]
12+
paths-ignore:
13+
- 'docs/**'
14+
- 'mkdocs.yml'
15+
- 'README.md'
16+
- 'RELEASING.md'
617

718
concurrency:
819
group: "${{ github.workflow }}-${{ github.head_ref || github.sha }}"

.github/workflows/ci.yml

Lines changed: 13 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,19 @@
11
name: CI
22

33
on:
4-
pull_request: {}
5-
push: { branches: [ main ] }
4+
pull_request:
5+
paths-ignore:
6+
- 'docs/**'
7+
- 'mkdocs.yml'
8+
- 'README.md'
9+
- 'RELEASING.md'
10+
push:
11+
branches: [ main ]
12+
paths-ignore:
13+
- 'docs/**'
14+
- 'mkdocs.yml'
15+
- 'README.md'
16+
- 'RELEASING.md'
617

718
concurrency:
819
group: "${{ github.workflow }}-${{ github.head_ref || github.sha }}"

0 commit comments

Comments
 (0)