Skip to content

fix(stale): add a pinned label that exempts issues from the stale sweep - #332

Merged
Shinrai merged 1 commit into
nextfrom
fix/stale-pinned-exemption
Sep 28, 2026
Merged

Shinrai merged 1 commit into
nextfrom
fix/stale-pinned-exemption

Conversation

@cldmv-bot

@cldmv-bot cldmv-bot Bot commented Sep 28, 2026

Copy link
Copy Markdown
Contributor

🚀 What's Changed

💥 Breaking Changes

No breaking changes

✨ Features

No new features

🐛 Bug Fixes

  • fix(stale): add a pinned label that exempts issues from the stale sweep (1e6882a)

📦 Dependencies

No dependency updates

🔧 Other Changes

No other changes

👥 Contributors

…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.
@cldmv-bot cldmv-bot Bot added ! fix → next v4 flow: fix contributor PR targeting the next integration branch area: core Touches core library / runtime source code type: ci Changes to CI workflows, actions, or build pipelines type: config Changes to repository or project configuration files labels Sep 28, 2026
@Shinrai
Shinrai merged commit 64d4c91 into next Sep 28, 2026
17 checks passed
@cldmv-bot
cldmv-bot Bot deleted the fix/stale-pinned-exemption branch September 28, 2026 15:31
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]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area: core Touches core library / runtime source code ! fix → next v4 flow: fix contributor PR targeting the next integration branch type: ci Changes to CI workflows, actions, or build pipelines type: config Changes to repository or project configuration files

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant