diff --git a/.github/workflows/release-beta-on-push.yml b/.github/workflows/release-beta-on-push.yml index cc811f2f9..2ae89536d 100644 --- a/.github/workflows/release-beta-on-push.yml +++ b/.github/workflows/release-beta-on-push.yml @@ -318,10 +318,13 @@ jobs: cache-from: type=gha cache-to: type=gha,mode=max - # ── Post-publish: only run after ALL artifacts are live ────────────── + # ── Post-publish: tweet after release + website are live ────────────── + # Docker is slow (multi-platform) and can be cancelled by concurrency; + # don't let it block the tweet. tweet: name: Tweet Release - needs: [version, publish, docker, redeploy-website] + needs: [version, publish, redeploy-website] + if: ${{ !cancelled() && needs.publish.result == 'success' }} uses: ./.github/workflows/tweet-release.yml with: release_tag: ${{ needs.version.outputs.tag }} diff --git a/.github/workflows/release-stable-manual.yml b/.github/workflows/release-stable-manual.yml index fb96972d8..a53577ef8 100644 --- a/.github/workflows/release-stable-manual.yml +++ b/.github/workflows/release-stable-manual.yml @@ -361,10 +361,12 @@ jobs: cache-from: type=gha cache-to: type=gha,mode=max - # ── Post-publish: only run after ALL artifacts are live ────────────── + # ── Post-publish: tweet after release + website are live ────────────── + # Docker push can be slow; don't let it block the tweet. tweet: name: Tweet Release - needs: [validate, publish, docker, redeploy-website] + needs: [validate, publish, redeploy-website] + if: ${{ !cancelled() && needs.publish.result == 'success' }} uses: ./.github/workflows/tweet-release.yml with: release_tag: ${{ needs.validate.outputs.tag }}