CLP-1044: Use common slack notification action - #6245
Conversation
Adds a notify-build-failure job to build.yml that reports pipeline failures on protected branches via the shared SonarSource/core-languages-tooling-public/common-actions/slack-notify action, replacing the stale check_suite-based approach with an in-workflow job as required by the action's current interface. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
3a9bd77 to
54b84ac
Compare
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Code Review ✅ Approved 1 closed / 1 findings🔴 High risk · The new notification job gains OIDC token issuance permission. Adopts the shared ✅ 1 closed✅ Bug: check_suite never fires for GitHub Actions CI, so no alert is ever sent
Review coverage🧪 Functional validation 3 of 3 objectives covered 📋 Rules No rules evaluated 🤖 Auto-approval Not enabled · Set up Implementation Status ✅ 3 of 3 objectives covered✅ CLP-1044 - 3 of 3 objectives coveredThis PR covers adding a CI workflow triggered on check_suite that calls the shared slack notification action to report failures to the #squad-corelang-notifs channel. ✅ 3 covered here
OptionsAuto-apply is off → Gitar will not commit updates to this branch. Comment with these commands to change the behavior for this request:
Was this helpful? React with 👍 / 👎 | Gitar |
|





CLP-1044: adopts the shared
slack-notifycomposite action (part of the CLP-894 rollout).Adds a
notify-build-failurejob tobuild.ymlthat posts to Slack when the build/QA pipeline fails onmaster,branch-*, ordogfood-*, replacing the previouscheck_suite-based draft (that trigger never fires for GitHub Actions' own check suites, so the job must live inside the workflow it monitors).This repo had no prior CI-failure Slack notification, so channel
squad-corelang-notifsandbranch-patterns: 'master,branch-*,dogfood-*'were chosen to match the repo's actual protected-branch/push triggers inbuild.yml.