Skip to content

Commit 98c7cd9

Browse files
ci(identity): remove Slack alert on identity-service build failure (#14463)
## What Removes the `Alert Slack on failure` step from the identity-service GitHub Actions workflow (`.github/workflows/identity.yml`). ## Why On every failed identity-service Docker build/push, this step POSTed a message to the daily-deploy Slack webhook: > Failed to build and push identity-service. Today's release can't move forward until this is resolved. Hint: check here This was generating repeated noise in the Slack channel. Identity-service CI was migrated from CircleCI to GitHub Actions in #14390, so this workflow is the source of those posts. ## Impact - Build failures are still fully visible in the GitHub Actions run — only the Slack notification is removed. - The build/push step itself is untouched. - The generic CircleCI `push-docker-image` Slack alert (still used by `discovery-provider`) is left in place. > [!NOTE] > The underlying identity-service build may itself be failing — this PR only silences the alert noise, it does not fix a failing build. Worth investigating separately if builds are still red. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com>
1 parent a79040c commit 98c7cd9

1 file changed

Lines changed: 0 additions & 19 deletions

File tree

.github/workflows/identity.yml

Lines changed: 0 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -363,22 +363,3 @@ jobs:
363363
git_sha=${{ github.sha }}
364364
cache-from: type=gha,scope=identity-service
365365
cache-to: type=gha,scope=identity-service,mode=max
366-
367-
- name: Alert Slack on failure
368-
if: failure() && env.SLACK_DAILY_DEPLOY_WEBHOOK != ''
369-
env:
370-
SLACK_DAILY_DEPLOY_WEBHOOK: ${{ secrets.SLACK_DAILY_DEPLOY_WEBHOOK }}
371-
JOB_URL: ${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}
372-
run: |
373-
json_content=$(cat <<EOF
374-
{ "blocks": [
375-
{ "type": "section",
376-
"text": { "type": "mrkdwn",
377-
"text": "Failed to build and push identity-service. Today's release can't move forward until this is resolved. Hint: check <${JOB_URL}|here>" }
378-
}
379-
]}
380-
EOF
381-
)
382-
curl -f -X POST -H 'Content-type: application/json' \
383-
--data "$json_content" \
384-
"$SLACK_DAILY_DEPLOY_WEBHOOK"

0 commit comments

Comments
 (0)