Skip to content

Commit b270408

Browse files
committed
Add a stale bot for X-Needs-Info issues.
1 parent 4cb3b16 commit b270408

File tree

1 file changed

+22
-0
lines changed

1 file changed

+22
-0
lines changed

.github/workflows/stale-issues.yml

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
name: Close stale issues that are missing info.
2+
3+
on:
4+
schedule:
5+
- cron: "30 1 * * *"
6+
7+
jobs:
8+
stale:
9+
runs-on: ubuntu-latest
10+
permissions:
11+
issues: write
12+
steps:
13+
- uses: actions/stale@v10
14+
with:
15+
only-labels: "X-Needs-Info"
16+
days-before-issue-stale: 30
17+
days-before-issue-close: 7
18+
days-before-pr-stale: -1
19+
stale-issue-label: "stale"
20+
labels-to-remove-when-unstale: "X-Needs-Info"
21+
stale-issue-message: "This issue has been awaiting further information for the past 30 days so will now be marked as stale. Please provide the requested information within the next 7 days to keep it open."
22+
close-issue-message: "This issue is being closed due to inactivity after further information was requested."

0 commit comments

Comments
 (0)