Skip to content

fix(ci): add support for opening an issue on main fail and assigning to the author of the breaking PR. - #25

Open
bleggett wants to merge 2 commits into
mainfrom
bleggett/add-slack-blamebot
Open

fix(ci): add support for opening an issue on main fail and assigning to the author of the breaking PR.#25
bleggett wants to merge 2 commits into
mainfrom
bleggett/add-slack-blamebot

Conversation

@bleggett

@bleggett bleggett commented Jul 28, 2026

Copy link
Copy Markdown
Contributor

Updates the build run failure Slack notify job a bit to do the following:

  1. If a push-triggered main build fails, resolve the PR that caused it (skipped on schedule/workflow_dispatch).

  2. File an issue titled CI failure: <workflow> on <branch>, labeled ci, body carrying branch, run URL, head commit, PR link, and the ##[error] snippet. Assigned to the PR author unless the author is a bot or the branch was already red before this run. If the branch was already red, adds a comment saying "still broken". If the issue is closed without fixing the breakage, a new issue will be opened.

  3. Post to #infra-notify via the existing SLACK_WEBHOOK_INFRA_NOTIFY webhook, including the run link, the author + PR, the tracking issue link with its assignment state, and the error snippet.

tycho
tycho previously approved these changes Jul 28, 2026

@alexandermerritt alexandermerritt left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

👍

@bleggett
bleggett dismissed stale reviews from alexandermerritt and tycho via 79f53c3 July 28, 2026 21:48
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