Skip to content

ci: add Slack notification for maintainer PRs#2154

Closed
felixweinberger wants to merge 1 commit intomainfrom
fweinberger/pr-notify-slack
Closed

ci: add Slack notification for maintainer PRs#2154
felixweinberger wants to merge 1 commit intomainfrom
fweinberger/pr-notify-slack

Conversation

@felixweinberger
Copy link
Contributor

@felixweinberger felixweinberger commented Feb 27, 2026

Adds a standalone pr-notify.yml workflow that posts a Slack notification when a non-draft PR is opened by a team member, tagging a random reviewer.

Motivation and Context

We want visibility into incoming PRs from maintainers so reviews happen faster.

How Has This Been Tested?

Tested the Slack webhook manually with the same payload format.

Breaking Changes

None.

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)
  • Documentation update

Checklist

  • I have read the MCP Documentation
  • My code follows the repository's style guidelines
  • New and existing tests pass locally
  • I have added appropriate error handling
  • I have added or updated documentation as needed

Additional context

Uses two repo secrets:

  • MAINTAINER_MAP — JSON with triggers (team GitHub usernames) and reviewers (username → Slack ID mapping)
  • SLACK_WEBHOOK_URL — Slack workflow webhook endpoint

@felixweinberger felixweinberger force-pushed the fweinberger/pr-notify-slack branch 2 times, most recently from 9576ad6 to 7692255 Compare February 27, 2026 12:33
@felixweinberger felixweinberger marked this pull request as draft February 27, 2026 12:48
@felixweinberger felixweinberger force-pushed the fweinberger/pr-notify-slack branch from aa34e51 to d04a375 Compare February 27, 2026 13:01
Standalone workflow that notifies a random reviewer on Slack when a
non-draft PR is opened. Uses MAINTAINER_MAP and SLACK_WEBHOOK_URL
repo secrets to determine team members and post notifications.
@felixweinberger felixweinberger force-pushed the fweinberger/pr-notify-slack branch from d04a375 to b0611de Compare February 27, 2026 13:02
@Kludex
Copy link
Member

Kludex commented Feb 27, 2026

No, this is not close source. Do not add a webhook to slack.

@felixweinberger
Copy link
Contributor Author

No, this is not close source. Do not add a webhook to slack.

how about discord

@Kludex
Copy link
Member

Kludex commented Feb 27, 2026

No, this is not close source. Do not add a webhook to slack.

how about discord

sure, that's fine.

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.

2 participants