mirror of
https://github.com/moby/moby.git
synced 2026-01-11 18:51:37 +00:00
ci(bin-image): fix conditional run for skipped job
When the doc job is skipped, the dependent ones will be skipped as well. To fix this issue we need to apply special conditions to always run dependent jobs but not if canceled or failed. Signed-off-by: CrazyMax <1951866+crazy-max@users.noreply.github.com>
This commit is contained in:
1
.github/workflows/bin-image.yml
vendored
1
.github/workflows/bin-image.yml
vendored
@@ -82,6 +82,7 @@ jobs:
|
||||
needs:
|
||||
- validate-dco
|
||||
- prepare
|
||||
if: always() && !contains(needs.*.result, 'failure') && !contains(needs.*.result, 'cancelled')
|
||||
strategy:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
|
||||
Reference in New Issue
Block a user