Skip to content

Commit c3068fd

Browse files
Create stale.yml
1 parent 35504f8 commit c3068fd

File tree

1 file changed

+34
-0
lines changed

1 file changed

+34
-0
lines changed

.github/workflows/stale.yml

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
# This workflow closes issues that have been labeled as 'waiting for response' and had no activity for 30 days.
2+
#
3+
# You can adjust the behavior by modifying this file.
4+
# For more information, see:
5+
# https://github.com/actions/stale
6+
name: Close stale 'waiting for response' issues
7+
8+
on:
9+
schedule:
10+
# ┌───────────── minute (0 - 59)
11+
# │ ┌───────────── hour (0 - 23)
12+
# │ │ ┌───────────── day of the month (1 - 31)
13+
# │ │ │ ┌───────────── month (1 - 12 or JAN-DEC)
14+
# │ │ │ │ ┌───────────── day of the week (0 - 6 or SUN-SAT)
15+
# │ │ │ │ │
16+
# │ │ │ │ │
17+
# │ │ │ │ │
18+
# * * * * *
19+
- cron: "0 0 * * *"
20+
21+
jobs:
22+
stale:
23+
runs-on: ubuntu-latest
24+
permissions:
25+
issues: write
26+
27+
steps:
28+
- uses: actions/stale@v5
29+
with:
30+
repo-token: ${{ secrets.GITHUB_TOKEN }}
31+
days-before-issue-stale: 30
32+
days-before-issue-close: 0
33+
close-issue-message: "This issue was closed because it has been stalled for 30 days with no activity. If the issue still persists, please reopen with the information requested. Thanks."
34+
any-of-labels: "waiting for response"

0 commit comments

Comments
 (0)