Repository navigation
release: set up changesets and release tracking - #140
Merged
Merged
Conversation
Prepare release tracking PRs while keeping GitHub release publishing manual. Refs github/primer-engineering#363 Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
There was a problem hiding this comment.
🟡 Changes recommended
The added dependency introduces cross-spawn@7.0.6 with a critical Windows command-injection vulnerability, requiring resolution to a patched version.
1 open issue
What changed in this PR
Adds Changesets-based release tracking while preserving manual publishing through the existing GitHub release workflow.
Changes:
- Adds Changesets configuration, CLI dependency, and version-preparation scripts.
- Automates Release tracking PRs without publishing packages or creating releases.
- Documents contributor and release procedures, retaining the
4.9.0baseline.
| File | Description |
|---|---|
| README.md | Updates release instructions. |
| package.json | Adds Changesets CLI and scripts. |
| package-lock.json | Locks Changesets dependencies. |
| .github/workflows/release-tracking.yml | Automates release-tracking PRs on main. |
| .changeset/README.md | Documents changesets, publishing, and workflow permissions. |
| .changeset/config.json | Configures versioning and changelog generation. |
Review effort: Balanced (adaptive)
Address GHSA-ghv9-86vm-4v8m in all locked cross-spawn copies. Use registry metadata generated on a hosted runner and preserve unrelated dependencies. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
There was a problem hiding this comment.
🔵 Needs a closer look
Maintainer review is needed because write-enabled automation couples release preparation and tracking PRs with separate publishing workflows, changing release-process and token/check-policy assumptions.
No open issues 🎉
1 resolved since last review
Review effort: Balanced (adaptive)
Require a release note or an explicit skip label in the new CI check. Label generated release tracking PRs and document the required-check setting. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
joshblack
approved these changes
Dec 4, 2026
joshblack
approved these changes
Dec 4, 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.

part of https://github.com/github/primer-engineering/issues/363, following up on https://github.com/github/primer-engineering/issues/343.
same release-tracking-only approach as the auto-check-element pilot, whose hosted install/build/tests passed.
what changed
main.4.9.0, matching the latest GitHub release.extending the release conductor alert to
github/*repos is a separate follow-up. changes merged before this setup still need a one-time review and changesets for anything that needs releasing.validation
npm run buildis blocked by missing dependencies. the npm registry is unreachable from this environment (ENOTCONN), so this is a draft while hosted CI validates the real install/build/tests.before merging
4.9.0baseline; the live registry lookup was blocked locally.GitHub Actions is currently allowed to create PRs in this repo. generated PRs use
GITHUB_TOKENand won't automatically trigger other Actions workflows; the contributor docs call out using an approved app token if required PR checks need those events.changeset check
skip-changesetand reruns when labels change.skip-changeset; apply the label manually for docs/dev-only changes that do not need a release.