Add workflow to comment on PRs when released#1772
Merged
maxisbey merged 5 commits intomodelcontextprotocol:mainfrom Dec 19, 2025
Merged
Add workflow to comment on PRs when released#1772maxisbey merged 5 commits intomodelcontextprotocol:mainfrom
maxisbey merged 5 commits intomodelcontextprotocol:mainfrom
Conversation
- Automatically comments on PRs included in a release - Only comments on PRs (not issues) using GitHub API validation - Compares current and previous release tags to find PRs - Minimal permissions: only requires pull-requests:write Fixes modelcontextprotocol#1759
Contributor
Author
|
Ready for your review @maxisbey |
felixweinberger
requested changes
Dec 11, 2025
Contributor
Author
|
Ready for your review @felixweinberger |
felixweinberger
approved these changes
Dec 15, 2025
Comment on lines
+17
to
+18
| with: | ||
| fetch-depth: 0 |
Contributor
There was a problem hiding this comment.
I don't think we need this anymore given we're now using the API only?
Contributor
Thanks! Code LGTM, but curious how you tested this? Did you run this locally somehow to generate the PRs? |
maxisbey
approved these changes
Dec 19, 2025
Contributor
|
Will merge this for now and we can validate it works on the next release (will be in Jan) |
Member
|
If people want to be notified, they can watch the releases... 😅 |
Contributor
Author
Hy @maxisbey
|
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
Adds a workflow that automatically comments on PRs when they're included in a release, notifying contributors their changes are live.
Approach
Custom workflow using GitHub's REST API:
Key Features
Only comments on PRs (not issues) - API validation ensures this
Minimal permissions - only
pull-requests: writerequiredHow Has This Been Tested?
Tested with releases v1.23.2 → v1.23.3:
Fixes #1759
Breaking Changes
No, Its an non-breaking change which adds functionality
Types of changes
Checklist