Auto-label PRs and use native release notes generation#7417
Merged
isaacroldan merged 1 commit intomainfrom Apr 28, 2026
Merged
Conversation
3 tasks
Contributor
Author
This stack of pull requests is managed by Graphite. Learn more about stacking. |
4 tasks
Replaces the empty release body with GitHub's native --generate-notes output, made useful by two new pieces of automation: - .github/workflows/label-pr.yml runs on PR open/sync and inspects any changeset files added in the PR. PRs with no changeset get the no-changelog label; PRs with a changeset get an Area: @shopify/... label derived from the packages in the changeset frontmatter. Multi-package changesets fold to Area: @shopify/cli. - .github/release.yml configures --generate-notes to exclude PRs labeled no-changelog and to bucket the rest into App / Theme / CLI / Other categories using the area labels. Fork PRs are skipped by the labeler (read-only token); they fall into the Other category in release notes until labeled by hand. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
6780212 to
fb9e6f5
Compare
9545361 to
602c9d0
Compare
gonzaloriestra
approved these changes
Apr 28, 2026
Contributor
gonzaloriestra
left a comment
There was a problem hiding this comment.
Nice idea! Let's see how it works, I guess we will need to fine tune it a bit.
Base automatically changed from
04-28-automate_tag_stable_branch_and_github_release_after_changeset_publish
to
main
April 28, 2026 11:43
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.

Summary
Replaces the empty release body (from #7415) with GitHub's native
--generate-notesoutput, made useful by two new pieces of automation:.github/workflows/label-pr.ymlruns on PR open/sync/reopen and inspects any changeset files added in the PR:no-changeloglabelArea: @shopify/<area>label, derived from the packages in the changeset frontmatterArea: @shopify/cli(per discussion: "anything mixed counts as CLI").github/release.ymlconfigures--generate-notesto excludeno-changelogPRs and bucket the rest into App / Theme / CLI / Other categories.The
Create GitHub releasestep inrelease.ymlnow passes--generate-notesinstead of--notes "".Notes
GITHUB_TOKENis read-only on forks). They land in "Other" in release notes until manually labeled.no-changelog,Area: @shopify/cli,Area: @shopify/theme,Area: @shopify/applabels already exist in the repo.Test plan
no-changelogis applied@shopify/appchangeset →Area: @shopify/appis appliedArea: @shopify/cliis appliedno-changelogis removed and the area label is added🤖 Generated with Claude Code