Skip to content

Commit 5a13523

Browse files
PAMulliganPaul Mulliganclaude
authored
ci(stale): exempt pinned items and document required labels (#114)
The stale workflow applies a 'stale' label that had been deleted from the repo's label set, leaving stale items unfilterable and breaking the documented rescue path (surfaced when issue #58 was auto-marked stale with no permanent opt-out). - Add 'pinned' to exempt-issue-labels and introduce exempt-pr-labels (PRs previously had no exemption mechanism) - Mention the pinned rescue path in the stale-issue message - Document that the stale and pinned labels must exist in the repo's label set The stale (#ededed) and pinned (#5319e7) labels were recreated directly in the repo's label registry via gh label create. Fixes #113 Co-authored-by: Paul Mulligan <paul@pmds.pull-list.net> Co-authored-by: Claude Fable 5 <noreply@anthropic.com>
1 parent cf8e8a5 commit 5a13523

1 file changed

Lines changed: 7 additions & 2 deletions

File tree

.github/workflows/stale.yml

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,9 @@ jobs:
1616
steps:
1717
- uses: actions/stale@v10
1818
with:
19+
# The stale and pinned labels must exist in the repo's label set
20+
# (gh label create); deleting them breaks filtering and exemptions.
21+
1922
# Issue configuration
2023
days-before-issue-stale: 60
2124
days-before-issue-close: 14
@@ -25,12 +28,13 @@ jobs:
2528
not had any activity in the last 60 days. It will be closed in
2629
14 days if no further activity occurs. If this issue is still
2730
relevant, please leave a comment or remove the stale label.
28-
Thank you for your contributions!
31+
Maintainers can add the pinned label to exempt an issue from
32+
being auto-closed. Thank you for your contributions!
2933
close-issue-message: >
3034
This issue has been automatically closed due to inactivity.
3135
If you believe this issue is still relevant, please feel free
3236
to reopen it with updated context. Thank you!
33-
exempt-issue-labels: "priority: high,help wanted"
37+
exempt-issue-labels: "priority: high,help wanted,pinned"
3438

3539
# PR configuration
3640
days-before-pr-stale: 30
@@ -46,3 +50,4 @@ jobs:
4650
This pull request has been automatically closed due to
4751
inactivity. If you would like to continue this work, please
4852
feel free to reopen it or create a new pull request. Thank you!
53+
exempt-pr-labels: "pinned"

0 commit comments

Comments
 (0)