Commit 220a7a8
authored
ci: cancel superseded PR runs; skip build on docs-only PRs (#440)
Two workflow tweaks aimed at the partial-miss tier (~10-13min) build
that dominates everyday PR iteration:
1. Concurrency cancellation - in-progress runs on the same PR branch
are cancelled when a new push arrives. main pushes are not cancelled
(cancel-in-progress is gated on github.event_name == 'pull_request')
so each merged commit still gets its own verification pass.
2. paths-ignore on the Build and Test trigger - PRs that touch only
markdown files or Docs/ skip the full build/test cycle entirely.
PR Validation (villint) keeps its current trigger so doc PRs still
pass through linting.
If 'Build and Test VillageSQL' is configured as a required status check
on main, doc-only PRs may report it as missing rather than passing -
will need a no-op fallback job in that case.1 parent a196132 commit 220a7a8
2 files changed
Lines changed: 16 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
6 | 9 | | |
7 | 10 | | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
8 | 20 | | |
9 | 21 | | |
10 | 22 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
12 | 16 | | |
13 | 17 | | |
14 | 18 | | |
| |||
0 commit comments