From 573e763c9c04c595dc721f67acc36985bf9b963e Mon Sep 17 00:00:00 2001 From: Colum Ferry Date: Fri, 29 May 2026 13:48:43 +0100 Subject: [PATCH] ci(cli): only notify Slack for stable releases --- .github/workflows/release.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index fbe5f0d64..57c7418c2 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -212,7 +212,7 @@ jobs: # Posts to the release Slack channel once the pipeline succeeds. Listing # `release` in `needs` without a status function in `if:` keeps the implicit # success() gate, so this only runs when both plan and release succeeded. - # The `if:` then filters to real (non-dry-run) beta/stable cuts; alpha and + # The `if:` then filters to real (non-dry-run) stable cuts; alpha, beta, and # dry runs stay silent. Nothing depends on this job, so a Slack/webhook # failure can't affect the already-completed release. notify-slack: @@ -220,7 +220,7 @@ jobs: needs: [plan, release] if: >- needs.plan.outputs.dry_run != 'true' && - (needs.plan.outputs.channel == 'beta' || needs.plan.outputs.channel == 'stable') + needs.plan.outputs.channel == 'stable' uses: ./.github/workflows/slack-notify.yml with: version: ${{ needs.plan.outputs.version }}