Skip to content
This repository was archived by the owner on Oct 18, 2024. It is now read-only.

Commit 6d46d71

Browse files
authored
Create no-response.yml (#124)
1 parent f322480 commit 6d46d71

File tree

1 file changed

+34
-0
lines changed

1 file changed

+34
-0
lines changed

.github/workflows/no-response.yml

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
# 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.
3+
4+
name: No Response
5+
6+
# Both `issue_comment` and `scheduled` event types are required.
7+
on:
8+
issue_comment:
9+
types: [created]
10+
schedule:
11+
# Schedule for five minutes after the hour, every hour
12+
- cron: '5 * * * *'
13+
14+
# All permissions not specified are set to 'none'.
15+
permissions:
16+
issues: write
17+
18+
jobs:
19+
noResponse:
20+
runs-on: ubuntu-latest
21+
if: ${{ github.repository_owner == 'dart-lang' }}
22+
steps:
23+
- uses: godofredoc/no-response@0ce2dc0e63e1c7d2b87752ceed091f6d32c9df09
24+
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
31+
issue, so it will be closed at this time. You're still free to add
32+
more info and respond to any questions above, though. We'll reopen
33+
the case if you do. Thanks for your contribution!
34+
token: ${{ github.token }}

0 commit comments

Comments
 (0)