Commit 28eefcb
committed
ci: skip workflow when only docs files change
Adding paths-ignore to push + pull_request triggers so iterations
on the docs / README / changelog / license don't queue up CI runs
that just regenerate docs/ and exit success. Workflow still fires
the moment a code, test, or config file is in the diff alongside
docs changes (paths-ignore is 'ALL files match' to skip).
Patterns:
- docs/** the build output
- docs-src/** markdown handbook sources
- site-src/** docs templates + assets
- **/*.md any markdown anywhere (README, CHANGELOG,
DESIGN, SECURITY, CONTRIBUTING, tests/README, …)
- LICENSE text file, never code-related
workflow_dispatch is unchanged — manual 'Run workflow' button can
still kick a CI run on a docs-only commit when you want a final
post-iteration check before merging.1 parent 4da2da3 commit 28eefcb
1 file changed
Lines changed: 20 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
16 | 21 | | |
17 | 22 | | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
18 | 29 | | |
19 | 30 | | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
20 | 37 | | |
21 | 38 | | |
22 | | - | |
23 | | - | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
24 | 42 | | |
25 | 43 | | |
26 | 44 | | |
| |||
0 commit comments