Skip to content

Commit f9c40e8

Browse files
chrisburrchaen
authored andcommitted
ci: skip CI workflows for documentation-only changes
Expand paths-ignore in main, integration, and deployment workflows to cover all Markdown files, the docs directory, and mkdocs.yml. This avoids running expensive integration tests when only documentation is modified.
1 parent 2514036 commit f9c40e8

3 files changed

Lines changed: 17 additions & 3 deletions

File tree

.github/workflows/deployment.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,9 @@ on:
66
- 'v*'
77
pull_request:
88
paths-ignore:
9-
- 'CHANGELOG.md'
9+
- '**.md'
10+
- 'docs/**'
11+
- 'mkdocs.yml'
1012
schedule:
1113
- cron: '0 10 * * *'
1214

.github/workflows/integration.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,17 @@ on:
44
push:
55
branches:
66
- main
7+
paths-ignore:
8+
- '**.md'
9+
- 'docs/**'
10+
- 'mkdocs.yml'
711
pull_request:
812
branches:
913
- main
1014
paths-ignore:
11-
- 'CHANGELOG.md'
15+
- '**.md'
16+
- 'docs/**'
17+
- 'mkdocs.yml'
1218

1319
defaults:
1420
run:

.github/workflows/main.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,17 @@ on:
44
push:
55
branches:
66
- main
7+
paths-ignore:
8+
- '**.md'
9+
- 'docs/**'
10+
- 'mkdocs.yml'
711
pull_request:
812
branches:
913
- main
1014
paths-ignore:
11-
- 'CHANGELOG.md'
15+
- '**.md'
16+
- 'docs/**'
17+
- 'mkdocs.yml'
1218

1319
concurrency:
1420
group: ${{ github.workflow }}-${{ github.ref }}

0 commit comments

Comments
 (0)