Add changeset generator workflow for pull requests#1299
Merged
Conversation
Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Add workflow to generate changeset on review
Add changeset generator workflow for pull requests
Oct 7, 2025
pelikhan
reviewed
Oct 7, 2025
| pull-requests: read | ||
| engine: claude | ||
| safe-outputs: | ||
| create-pull-request: |
Collaborator
There was a problem hiding this comment.
use push to pull request branch instead
Collaborator
There was a problem hiding this comment.
@copilot use push to pull request branch instead
Contributor
Author
There was a problem hiding this comment.
Changed to use push-to-pull-request-branch in commit b4f7e8b. The workflow now pushes the changeset directly to the PR branch instead of creating a separate PR.
Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
pelikhan
reviewed
Oct 7, 2025
| permissions: | ||
| contents: read | ||
| pull-requests: read | ||
| engine: claude |
Collaborator
|
@copilot merge main, format, lint, recompile |
Copilot stopped work on behalf of
pelikhan due to an error
October 7, 2025 13:46
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
This PR adds a GitHub Agentic Workflow that automatically generates changeset files when a pull request becomes ready for review, streamlining the version management process.
Problem
Creating changesets manually for each pull request is:
Solution
A new workflow (
.github/workflows/changeset-generator.md) that:Example
When a PR titled "feat: Add support for custom themes" is marked ready for review, the workflow will:
minorversion bumppackage.jsonfor the package name (e.g.,"gh-aw").changeset/minor-add-custom-theme-support.md:Configuration
push-to-pull-request-branchto commit changes directly to the PRBenefits
✅ Automates changeset creation process
✅ Ensures consistent changeset format
✅ Reduces human error in version classification
✅ Integrates seamlessly with changesets tooling
✅ Saves developer time and mental overhead
✅ Changeset becomes part of the same PR (no separate PR needed)
Files Changed
.github/workflows/changeset-generator.md- Workflow definition (4.4 KB).github/workflows/changeset-generator.lock.yml- Compiled GitHub Actions workflow (168 KB)Testing
make agent-finishvalidation completeResolves the need for automated changeset generation as specified in the issue requirements.
Original prompt
💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.