Skip to content

Commit 2e2d292

Browse files
ci: close 7 days after the label, never auto-mark; grant cache access
With "needs more info" as both the filter and the stale label, stale v9 treated every labelled issue as already stale and days-before-issue-close 0 closed it on the next run. Never auto-mark (-1) and close 7 days after the label event. actions: write lets the action persist its state cache. Co-Authored-By: Claude Fable 5.1 <[email protected]>
1 parent 83ce613 commit 2e2d292

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

‎.github/workflows/stale-needs-more-info.yml‎

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ on:
66
workflow_dispatch:
77

88
permissions:
9+
actions: write
910
issues: write
1011

1112
jobs:
@@ -15,8 +16,9 @@ jobs:
1516
- uses: actions/stale@v9
1617
with:
1718
only-issue-labels: "needs more info"
18-
days-before-issue-stale: 7
19-
days-before-issue-close: 0
19+
# The label is applied by the triage flow, so never auto-mark; close 7 days after it was added.
20+
days-before-issue-stale: -1
21+
days-before-issue-close: 7
2022
days-before-pr-stale: -1
2123
days-before-pr-close: -1
2224
remove-issue-stale-when-updated: true

0 commit comments

Comments
 (0)