diff --git a/.github/workflows/pr-comment-build-dispatcher.yaml b/.github/workflows/pr-comment-build-dispatcher.yaml index a982e2c134..4d334d2601 100644 --- a/.github/workflows/pr-comment-build-dispatcher.yaml +++ b/.github/workflows/pr-comment-build-dispatcher.yaml @@ -57,8 +57,8 @@ jobs: update_sdk: needs: check_maintainer_membership - if: ( always() && needs.check_maintainer_membership.result == 'success' - && contains(github.event.comment.body, '/update-sdk') ) + if: ( needs.check_maintainer_membership.result == 'success' + && contains(github.event.comment.body, '/update-sdk') ) name: "Build an updated SDK container" # SDK build needs access to bincache ssh secret secrets: inherit @@ -66,8 +66,8 @@ jobs: build_image: needs: [ check_maintainer_membership, update_sdk ] - if: ( always() && needs.check_maintainer_membership.result == 'success' - && ( contains(github.event.comment.body, '/build-image') || needs.update_sdk.result == 'success' ) ) + if: ( needs.check_maintainer_membership.result == 'success' + && ( contains(github.event.comment.body, '/build-image') || needs.update_sdk.result == 'success' ) ) name: "Build the OS image" uses: ./.github/workflows/ci.yaml with: