Draft
Add Changesets-based release tracking without forking changesets/action#54
Conversation
Co-authored-by: TylerJDev <26746305+TylerJDev@users.noreply.github.com>
Co-authored-by: TylerJDev <26746305+TylerJDev@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Add repository-local Changesets release-tracking flow
Add Changesets-based release tracking without forking changesets/action
Aug 21, 2026
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.
Dependabot and other PRs routinely merge without changesets, and
package.json(0.3.1) had drifted from the latest published/tagged release (v0.4.0) because the old release-triggered workflow never wrote the published version back to the repository.This PR introduces a standard Changesets release-PR flow using the unmodified
changesets/action@v2, plus a repository-local script that creates automatic patch changesets for unreleased commits when contributors have not supplied an explicit changeset.Version baseline
package.jsonandpackage-lock.jsonto0.4.0, matching the existingv0.4.0release tag.Release preparation
scripts/prepare-release.mjs:v${package.json.version}.${tag}..HEAD..changeset/auto-release-<sha>.mdpatch changeset per unreleased entry.Each generated changeset contains one release entry without its own Markdown list marker:
Keeping each entry in a separate changeset allows Changesets to render every change at the same top-level list depth while still producing a single patch release for the package.
Release policy
DEPENDENCY_RELEASE_AGE_DAYS.Security updates are detected from security or vulnerability labels, Security sections in the PR body, and CVE or GHSA identifiers.
Workflow changes
.github/workflows/release.yml, triggered by pushes tomainandworkflow_dispatch.fetch-depth: 0.npm run prepare-release.changesets/action@v2action to open or update a Release tracking pull request or publish the package.pr-title,commit-message, andpublish-script.Configuration and documentation
.changeset/config.jsonwith public package access, the GitHub changelog generator, andmainas the base branch.@changesets/cliand@changesets/changelog-githubas development dependencies.prepare-release,changeset, andreleasepackage scripts.README.md.Tests
scripts/prepare-release.test.mjscovers: