task-release: Request reviews from the authors of released changes - #116
Merged
Merged
Conversation
jtrobles-cdd
marked this pull request as ready for review
September 11, 2026 16:58
jtrobles-cdd
force-pushed
the
claude/release-workflow-pr-reviews-1d171f
branch
5 times, most recently
from
September 11, 2026 18:35
6f40084 to
1b68412
Compare
- A release or publication pull request gathers the work of several people, and nothing told any of them that their changes were about to reach production. - It is an input so that a VCS repository whose releases do not warrant it can turn it off, and it defaults to being on, because the common case is wanting the authors to know. - The authors are read from the GitHub API rather than from the Git history, because only GitHub can resolve the email address of a commit to a GitHub user. The commits are paginated, as a release easily exceeds the size of a single page. - A review is requested from one user at a time, because GitHub rejects the whole request when a single one of the users cannot be a reviewer, for instance because they have left the organization, and a release must not fail over that. - In 'Release and Deploy to Production' the step runs last, so that an unreachable GitHub API cannot cost the release and deployment checklist, which is worth more than the review requests. - The header comment of each workflow no longer lists the steps, which the step names already carry, and says instead what the pull request it opens is for, which none of them does. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
jtrobles-cdd
force-pushed
the
claude/release-workflow-pr-reviews-1d171f
branch
from
September 11, 2026 18:40
1b68412 to
623b0e2
Compare
|
Merged
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.



Context
A release or publication pull request gathers the work of several people, and nothing told any of them that their changes were about to reach production. Both release task workflows now request a review from the GitHub user who authored each commit the pull request carries, behind an input that defaults to being on.
Decisions Somebody Should Weigh In On
true, so every caller starts requesting reviews as soon as this reachesmaster, including the five that run the production release on a schedule. A VCS repository that does not want it has to passrequest_reviews_from_change_authors: false.repos/{owner}/{repo}/pulls/{number}/commitsrather than fromgh pr view --json commits. The latter carriesCo-authored-bytrailers but truncates at 100 commits, which a release routinely exceeds, so the trade is that co-authors are not requested.Release and Deploy to Productionthe new step runs after the checklist comment, so that an unreachable GitHub API costs the review requests rather than the checklist.Release and Publishis the precondition that it only works when called from a mergedpull_requestevent, since every value it builds the publication pull request from comes out ofgithub.event.pull_request.What I Could Not Verify