mirror of
https://github.com/moby/moby.git
synced 2026-01-11 18:51:37 +00:00
ci(bin-image): fix merge job run condition
All underlying jobs inherit from the status of all parent jobs in the tree, not just the very parent. We need to apply the same kind of special condition. Signed-off-by: CrazyMax <1951866+crazy-max@users.noreply.github.com>
This commit is contained in:
2
.github/workflows/bin-image.yml
vendored
2
.github/workflows/bin-image.yml
vendored
@@ -144,9 +144,9 @@ jobs:
|
||||
|
||||
merge:
|
||||
runs-on: ubuntu-20.04
|
||||
if: github.event_name != 'pull_request' && github.repository == 'moby/moby'
|
||||
needs:
|
||||
- build
|
||||
if: always() && !contains(needs.*.result, 'failure') && !contains(needs.*.result, 'cancelled') && github.event_name != 'pull_request' && github.repository == 'moby/moby'
|
||||
steps:
|
||||
-
|
||||
name: Download meta bake definition
|
||||
|
||||
Reference in New Issue
Block a user