ci: add Slack notification for maintainer PRs#2155
Closed
felixweinberger wants to merge 1 commit intov1.xfrom
Closed
ci: add Slack notification for maintainer PRs#2155felixweinberger wants to merge 1 commit intov1.xfrom
felixweinberger wants to merge 1 commit intov1.xfrom
Conversation
Add a notify job to the PR checks workflow that posts to Slack when an MCP team member opens a non-draft PR and CI passes. A random reviewer from a configured pool is tagged for review. Requires two repo secrets: - MAINTAINER_MAP: JSON with triggers (team members) and reviewers (notification pool) - SLACK_WEBHOOK_URL: Slack workflow webhook URL
52bcf1b to
c40a8d2
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Motivation and Context
Reduce GitHub notification noise for SDK maintainers by adding a dedicated Slack signal channel. When an MCP team member opens a PR and CI passes, a random reviewer from a configured pool is tagged in
#mcp-sdk-stamps.Counterpart of #2154 for the v1.x branch.
How Has This Been Tested?
Tested the Slack webhook manually with sample payloads — message format and tagging confirmed working.
Breaking Changes
None. This adds an optional CI job that only runs when repo secrets are configured.
Types of changes
Checklist
Additional context
Requires two repo secrets (same as main branch):
MAINTAINER_MAP: JSON withtriggers(GitHub usernames of team members) andreviewers(pool with Slack IDs)SLACK_WEBHOOK_URL: Slack workflow webhook URL