File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -364,6 +364,10 @@ jobs:
364364 needs :
365365 - plan
366366 - announce
367+ # Use `always() && ...` so this job is not skipped when an unrelated
368+ # upstream job (e.g., `custom-publish-crates`) fails. `announce` itself
369+ # tolerates a `custom-publish-crates` failure, so we mirror that here.
370+ if : ${{ always() && needs.announce.result == 'success' }}
367371 uses : ./.github/workflows/publish-docs.yml
368372 with :
369373 plan : ${{ needs.plan.outputs.val }}
@@ -373,6 +377,7 @@ jobs:
373377 needs :
374378 - plan
375379 - announce
380+ if : ${{ always() && needs.announce.result == 'success' }}
376381 uses : ./.github/workflows/publish-versions.yml
377382 with :
378383 plan : ${{ needs.plan.outputs.val }}
@@ -382,6 +387,7 @@ jobs:
382387 needs :
383388 - plan
384389 - announce
390+ if : ${{ always() && needs.announce.result == 'success' }}
385391 uses : ./.github/workflows/publish-mirror.yml
386392 with :
387393 plan : ${{ needs.plan.outputs.val }}
You can’t perform that action at this time.
0 commit comments