Commit 1bb70dc
Venkata Subramani Renduchintala
ci: skip pipeline for documentation-only changes
Restrict the validate workflow so it does not build for docs work:
- on.push uses branches-ignore: "docs/**" — pushes to docs branches never
trigger the workflow.
- the job `if` skips PRs opened from a docs/* branch (github.head_ref) and
pushes whose tip commit is docs:/docs(scope):. The previous check only
matched bare docs:/chore: and missed the scoped conventional-commit form
(e.g. docs(readme):), so docs PRs still built.1 parent 70b7b21 commit 1bb70dc
1 file changed
Lines changed: 15 additions & 8 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | | - | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
6 | 8 | | |
7 | 9 | | |
8 | 10 | | |
9 | 11 | | |
10 | 12 | | |
11 | 13 | | |
12 | 14 | | |
13 | | - | |
14 | | - | |
15 | | - | |
16 | | - | |
17 | | - | |
18 | | - | |
19 | | - | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
20 | 27 | | |
21 | 28 | | |
22 | 29 | | |
| |||
0 commit comments