Repository navigation
fix(stale): add a pinned label that exempts issues from the stale sweep - #332
Merged
Merged
Conversation
…weep
The stale sweep already skips issues and PRs carrying an exempt label,
but its default exempt lists named labels that don't exist in the org
label set: `pinned` wasn't a label at all, and `help-wanted`,
`good-first-issue` and `blocked` are really `help wanted`, `good first
issue` and `status: blocked`. So there was no label you could put on a
long-standing issue to keep it open — the only way was to comment on it
every 60 days.
- Add `pinned` to data/github-labels.json ("exempt from the stale sweep,
never auto-closed for inactivity"). Label sync creates it in every
repo. It was previously an alias of `semver: explicit`, which label
sync would have renamed it to; nothing emits that alias (the release
tooling uses `explicit`), so it's dropped there.
- Fix the default exempt lists to the real label names, in both
reusable-stale.yml and the stale-sweep action.
- An item that becomes exempt after it was already marked stale now has
the stale label removed on the next run, instead of keeping it forever.
- The stale comment now mentions the `pinned` label, and the caller
template documents it and the other exemptions.
Adds classifier tests, including checks that the default exemptions
exist in the org label set, stay in sync between the two files, and
that no label name collides with another label's alias.
Shinrai
approved these changes
Sep 28, 2026
cldmv-bot Bot
added a commit
that referenced
this pull request
Sep 28, 2026
## 🚀 What's Changed ### 💥 Breaking Changes _No breaking changes_ ### ✨ Features _No new features_ ### 🐛 Bug Fixes - #335 - fix(next-reset): auto-resolve version-only conflicts when merging a hotfix into next (e1cfc7c) - #332 - fix(stale): add a `pinned` label that exempts issues from the stale sweep (1e6882a) ### 📦 Dependencies _No dependency updates_ ### 🔧 Other Changes _No other changes_ <details> <summary>👥 Contributors</summary> - @Shinrai </details> <!-- co-authors --> Co-authored-by: Shinrai <[email protected]>
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's Changed
💥 Breaking Changes
No breaking changes
✨ Features
No new features
🐛 Bug Fixes
pinnedlabel that exempts issues from the stale sweep (1e6882a)📦 Dependencies
No dependency updates
🔧 Other Changes
No other changes
👥 Contributors