Skip to content

Commit 65a2e52

Browse files
committed
Setup auto-close for stale issues
1 parent c2053f0 commit 65a2e52

1 file changed

Lines changed: 25 additions & 0 deletions

File tree

.github/workflows/no-response.yml

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
name: no-response
2+
3+
# Both `issue_comment` and `scheduled` event types are required for this Action
4+
# to work properly.
5+
on:
6+
issue_comment:
7+
types: [created]
8+
schedule:
9+
# Run daily at midnight.
10+
- cron: '0 0 * * *'
11+
12+
permissions:
13+
issues: write
14+
pull-requests: write
15+
16+
jobs:
17+
noResponse:
18+
runs-on: ubuntu-latest
19+
steps:
20+
- uses: lee-dohm/no-response@v0.5.0
21+
with:
22+
token: ${{ github.token }}
23+
# Number of days of inactivity before an issue is closed for lack of response.
24+
daysUntilClose: 30
25+
responseRequiredLabel: waiting for author

0 commit comments

Comments
 (0)