Skip to content

Commit e1ca05d

Browse files
authored
Update no-response.yml (#349)
1 parent 79e3cee commit e1ca05d

File tree

1 file changed

+17
-13
lines changed

1 file changed

+17
-13
lines changed

.github/workflows/no-response.yml

Lines changed: 17 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
# A workflow to close issues where the author hasn't responded to a request for
2-
# more information; see https://github.com/godofredoc/no-response for docs.
2+
# more information; see https://github.com/actions/stale.
33

44
name: No Response
55

6-
# Both `issue_comment` and `scheduled` event types are required.
6+
# Run as a daily cron.
77
on:
88
issue_comment:
99
types: [created]
@@ -14,20 +14,24 @@ on:
1414
# All permissions not specified are set to 'none'.
1515
permissions:
1616
issues: write
17+
pull-requests: write
1718

1819
jobs:
19-
noResponse:
20+
no-response:
2021
runs-on: ubuntu-latest
2122
if: ${{ github.repository_owner == 'dart-lang' }}
2223
steps:
23-
- uses: godofredoc/no-response@0ce2dc0e63e1c7d2b87752ceed091f6d32c9df09
24+
- uses: actions/stale@1160a2240286f5da8ec72b1c0816ce2481aabf84
2425
with:
25-
responseRequiredLabel: "needs-info"
26-
responseRequiredColor: 4774bc
27-
closeComment: >
28-
Without additional information we're not able to resolve this
29-
issue, so it will be closed at this time. You're still free to add
30-
more info and respond to any questions above, though. We'll reopen
31-
the case if you do. Thanks for your contribution!
32-
daysUntilClose: 14
33-
token: ${{ github.token }}
26+
days-before-stale: -1
27+
days-before-close: 14
28+
stale-issue-label: "needs-info"
29+
close-issue-message: >
30+
Without additional information we're not able to resolve this issue.
31+
Feel free to add more info or respond to any questions above and we
32+
can reopen the case. Thanks for your contribution!
33+
stale-pr-label: "needs-info"
34+
close-pr-message: >
35+
Without additional information we're not able to resolve this PR.
36+
Feel free to add more info or respond to any questions above.
37+
Thanks for your contribution!

0 commit comments

Comments
 (0)