Skip to content

Commit cf45f5d

Browse files
authored
Modernize no-response.yml
1 parent b76d710 commit cf45f5d

1 file changed

Lines changed: 14 additions & 11 deletions

File tree

.github/workflows/no-response.yml

Lines changed: 14 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,22 @@
1-
name: No Response
1+
# Configuration for close-stale-issues - https://github.com/marketplace/actions/close-stale-issues
22

3-
# Both `issue_comment` and `scheduled` event types are required for this Action
4-
# to work properly.
3+
name: 'Close awaiting response issues'
54
on:
6-
issue_comment:
7-
types: [created]
85
schedule:
9-
# Schedule for 8 o'clock, every day
10-
- cron: '0 8 * * *'
6+
- cron: '00 06 * * *'
117

128
jobs:
13-
noResponse:
9+
no-response:
1410
runs-on: ubuntu-latest
11+
permissions:
12+
issues: write
13+
pull-requests: write
1514
steps:
16-
- uses: lee-dohm/no-response@v0.5.0
15+
- uses: actions/stale@v8
1716
with:
18-
token: ${{ github.token }}
19-
daysUntilClose: 14
17+
days-before-stale: 14
18+
days-before-close: 0
19+
days-before-pr-close: -1
20+
stale-issue-label: 'stale'
21+
close-issue-message: "This issue has been automatically closed because the original author has not responded to our request for more information. With the information currently in the issue, we don't have enough information to take action. Please contact us if you have or find the answers we need so that we can investigate further."
22+
only-labels: 'more-information-needed'

0 commit comments

Comments
 (0)