Skip to content

Commit b466442

Browse files
committed
ci(showcase): add #team-showcase webhook-unset fallback log on success
Mirror the failure-path 'no Slack' observability fallback for the new #team-showcase success post. When SLACK_WEBHOOK_TEAM_SHOWCASE is unset (current default), a successful prod promote now emits a ::notice:: log line instead of a silent green.
1 parent 2e3e4b2 commit b466442

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

.github/workflows/showcase_promote.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -412,3 +412,10 @@ jobs:
412412
CSV: ${{ steps.state.outputs.csv }}
413413
run: |
414414
echo "::warning::Showcase promote failed for '$CSV' but SLACK_WEBHOOK_OSS_ALERTS is not set; no Slack notification sent."
415+
- name: Log (no Slack — team-showcase webhook unset)
416+
if: steps.state.outputs.state == 'success' && inputs.service != '__select_a_service__' && env.SLACK_WEBHOOK_TS == ''
417+
env:
418+
CSV: ${{ steps.state.outputs.csv }}
419+
ICON: ${{ steps.state.outputs.icon }}
420+
run: |
421+
echo "::notice::$ICON Showcase promoted to prod for '$CSV' but SLACK_WEBHOOK_TEAM_SHOWCASE is not set; no #team-showcase notification sent."

0 commit comments

Comments
 (0)