Repository navigation
Check pull requests for a changeset or exemption - #998
Merged
keeganwitt merged 1 commit intoNov 24, 2026
Merged
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #998 +/- ##
=========================================
Coverage 100.00% 100.00%
=========================================
Files 80 80
Lines 910 910
Branches 354 338 -16
=========================================
Hits 910 910 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
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.
What
Add a Changeset or exemption check for PRs targeting
mainornext. A PR passes with a new nonemptyjest-extendedchangeset or the maintainer-appliedno-changesetlabel. The check reruns when commits or labels change and reads the PR's changed files through the GitHub API.Why
A pending changeset from another PR cannot satisfy the check. Contributors get immediate feedback when a release note is missing, and maintainers can explicitly exempt docs, routine version bumps, and internal maintenance.
Rollout
no-changesetrepository label and apply it to this CI-only PR.mainand any protectednextbranch. Apply the exemption label to generated Changesets version PRs as needed.Verification
Validated the workflow's script against the actual diff from #995 and mocked GitHub API responses covering label additions and removals, pagination, valid bump types, empty or malformed changesets, and files already present on the base branch. Prettier and
git diff --checkpassed.