Commit 9697dae
authored
fix(ci): skip CI on draft PRs (#1423)
Added draft check to entry-point jobs (check-changes in docker.yml,
pre-commit in code-cleanup.yml). All downstream jobs depend on these
via `needs`, so everything skips when a PR is draft.
Uses `github.event_name != 'pull_request' || github.event.pull_request.draft == false`
to ensure push events (merges to main/dev) still trigger CI — only
pull_request events check draft status.1 parent 52427bf commit 9697dae
2 files changed
Lines changed: 2 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
| 13 | + | |
13 | 14 | | |
14 | 15 | | |
15 | 16 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
| 19 | + | |
19 | 20 | | |
20 | 21 | | |
21 | 22 | | |
| |||
0 commit comments