Skip to content

Commit 9295cec

Browse files
authored
blast_repo fixes (dart-archive/yaml_edit#62)
no-response
1 parent c32e754 commit 9295cec

File tree

1 file changed

+19
-16
lines changed

1 file changed

+19
-16
lines changed
Lines changed: 19 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,34 +1,37 @@
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:
8-
issue_comment:
9-
types: [created]
108
schedule:
119
# Every day at 8am
1210
- cron: '0 8 * * *'
1311

1412
# All permissions not specified are set to 'none'.
1513
permissions:
1614
issues: write
15+
pull-requests: write
1716

1817
jobs:
19-
noResponse:
18+
no-response:
2019
runs-on: ubuntu-latest
2120
if: ${{ github.repository_owner == 'dart-lang' }}
2221
steps:
23-
- uses: godofredoc/no-response@0ce2dc0e63e1c7d2b87752ceed091f6d32c9df09
22+
- uses: actions/stale@1160a2240286f5da8ec72b1c0816ce2481aabf84
2423
with:
25-
responseRequiredLabel: "needs-info"
26-
responseRequiredColor: 4774bc
27-
daysUntilClose: 14
28-
# Comment to post when closing an Issue for lack of response.
29-
closeComment: >
30-
Without additional information we're not able to resolve this issue,
31-
so it will be closed at this time. You're still free to add more
32-
info and respond to any questions above, though. We'll reopen the
33-
issue if you do. Thanks for your contribution!
34-
token: ${{ github.token }}
24+
# Don't automatically mark inactive issues+PRs as stale.
25+
days-before-stale: -1
26+
# Close needs-info issues and PRs after 14 days of inactivity.
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)