Repository navigation
Commit 508f3c3
authored
fix(ci): run build-and-push when check-new-commits is skipped (#2408)
check-new-commits runs only on the schedule, so push and workflow_dispatch
runs skip it. build-and-push had no status function in its condition, so
GitHub added an implicit success(), which counts that skipped ancestor and
skips the job as well. Since #2185 dropped the always() guard that #1855
added, no push or manual run on main has built an image; only cron runs
have.
Use !cancelled() so the job runs whenever prepare succeeds and still stops
when the run is cancelled.1 parent 4de8fca commit 508f3c3
1 file changed
Lines changed: 3 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
166 | 166 | | |
167 | 167 | | |
168 | 168 | | |
169 | | - | |
| 169 | + | |
| 170 | + | |
| 171 | + | |
170 | 172 | | |
171 | 173 | | |
172 | 174 | | |
| |||
0 commit comments