Skip to content

Commit b713603

Browse files
committed
Exclude docs folder and root *.md from Github build trigger
Every change to the existing repository triggers a build that is pretty much pointless and expensive for a doc change that literally has no impact on the actual content being built. With this change documentation changes are excluded. Using documentation from https://docs.github.com/en/actions/reference/workflows-and-actions/workflow-syntax#example-excluding-paths
1 parent d8b547e commit b713603

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

.github/workflows/ci.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,14 @@ concurrency:
66
on:
77
push:
88
branches: [ master ]
9+
paths-ignore:
10+
- 'docs/**'
11+
- '*.md'
912
pull_request:
1013
branches: [ master ]
14+
paths-ignore:
15+
- 'docs/**'
16+
- '*.md'
1117

1218
jobs:
1319
build:

0 commit comments

Comments
 (0)