Skip to content

feat: add slack notifications on failures#82

Merged
witmicko merged 3 commits intomainfrom
onboarding-automation-add-slack-notification
Mar 5, 2026
Merged

feat: add slack notifications on failures#82
witmicko merged 3 commits intomainfrom
onboarding-automation-add-slack-notification

Conversation

@witmicko
Copy link
Contributor

@witmicko witmicko commented Feb 26, 2026

Added:
slack notifications on failures.

FIxed:
Bug where we errored when a repository had our workflow file already.


Note

Low Risk
Low risk workflow-only change; main impact is altered CI behavior (skipping commits/PR creation when the workflow file is unchanged) and sending Slack alerts on failures.

Overview
Improves the onboard-new-repo GitHub Action to avoid failing/creating noise when the SAST workflow already matches by detecting an empty staged diff and short-circuiting the commit/push, then gating PR/URL/empty-repo outputs on a new create_branch step skipped output.

Adds a Slack notification on job failure via slackapi/slack-github-action, posting the target repo and Actions run link when APPSEC_BOT_SLACK_WEBHOOK is configured.

Written by Cursor Bugbot for commit acf9c9b. This will update automatically on new commits. Configure here.

…canner workflow already exists. Added Slack notification for onboarding failures.
@witmicko witmicko requested a review from EllusionN February 26, 2026 11:21
@witmicko witmicko requested a review from a team as a code owner February 26, 2026 11:21
@witmicko witmicko changed the title Enhance onboarding workflow to skip branch creation if the security s… Enhance onboarding workflow Feb 26, 2026
@witmicko witmicko enabled auto-merge February 26, 2026 11:22
Copy link
Contributor

@EllusionN EllusionN left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@witmicko looks like CI is failing. Can you also add a PR description? Thanks

@witmicko witmicko changed the title Enhance onboarding workflow feat: add slack notifications on failures Mar 2, 2026
@witmicko witmicko requested a review from mmenoxx March 2, 2026 15:45
Copy link

@cursor cursor bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cursor Bugbot has reviewed your changes and found 1 potential issue.

Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, have a team admin enable autofix in the Cursor dashboard.

…specification, streamlining the message payload.
Copy link

@mmenoxx mmenoxx left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@witmicko witmicko merged commit 5c56227 into main Mar 5, 2026
20 checks passed
@witmicko witmicko deleted the onboarding-automation-add-slack-notification branch March 5, 2026 09:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants