ci: add Slack notification for maintainer PRs#2154
Closed
felixweinberger wants to merge 1 commit intomainfrom
Closed
ci: add Slack notification for maintainer PRs#2154felixweinberger wants to merge 1 commit intomainfrom
felixweinberger wants to merge 1 commit intomainfrom
Conversation
9576ad6 to
7692255
Compare
9 tasks
aa34e51 to
d04a375
Compare
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.
d04a375 to
b0611de
Compare
Member
|
No, this is not close source. Do not add a webhook to slack. |
Contributor
Author
how about discord |
Member
sure, that's fine. |
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.
Adds a standalone
pr-notify.ymlworkflow 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
Checklist
Additional context
Uses two repo secrets:
MAINTAINER_MAP— JSON withtriggers(team GitHub usernames) andreviewers(username → Slack ID mapping)SLACK_WEBHOOK_URL— Slack workflow webhook endpoint