Skip to content

Commit fe120b7

Browse files
committed
Update no-response.yml
1 parent 80d1081 commit fe120b7

File tree

1 file changed

+11
-10
lines changed

1 file changed

+11
-10
lines changed

.github/workflows/no-response.yml

Lines changed: 11 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,9 @@
11
name: no-response
22

3-
# Both `issue_comment` and `scheduled` event types are required for this Action
4-
# to work properly.
53
on:
6-
issue_comment:
7-
types: [created]
84
schedule:
9-
# Run daily at midnight.
10-
- cron: '0 0 * * *'
5+
- cron: '0 0 * * *' # Runs daily at midnight
6+
workflow_dispatch:
117

128
permissions:
139
issues: write
@@ -17,9 +13,14 @@ jobs:
1713
noResponse:
1814
runs-on: ubuntu-latest
1915
steps:
20-
- uses: lee-dohm/no-response@v0.5.0
16+
- uses: actions/stale@v9
2117
with:
22-
token: ${{ github.token }}
18+
repo-token: ${{ secrets.GITHUB_TOKEN }}
19+
days-before-stale: -1
2320
# Number of days of inactivity before an issue is closed for lack of response.
24-
daysUntilClose: 14
25-
responseRequiredLabel: waiting for author
21+
days-before-close: 14
22+
only-labels: 'waiting for author'
23+
stale-issue-label: 'waiting for author'
24+
stale-pr-label: 'waiting for author'
25+
close-issue-message: This issue has been automatically closed due to inactivity. We requested additional information but have not received a response from the original author. Without the requested details, we cannot proceed. If you have or find the information needed, please comment so we can reopen the issue.
26+
close-pr-message: This pull request has been automatically closed due to inactivity. We requested additional information but have not received a response from the original author. Without the requested details, we cannot proceed. If you have the needed information or updates, please reopen the PR or comment so we can continue the review.

0 commit comments

Comments
 (0)