Skip to content

Commit 29c3fea

Browse files
devoncarewCommit Queue
authored andcommitted
[infra] enable a no-response issue triage bot
Change-Id: I9915cfe3eaecceb50bc6e78be6f96afa733dd5af Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/269381 Reviewed-by: Godofredo Contreras <godofredoc@google.com> Commit-Queue: Devon Carew <devoncarew@google.com> Reviewed-by: Kevin Moore <kevmoo@google.com>
1 parent 1ad3b1c commit 29c3fea

File tree

1 file changed

+33
-0
lines changed

1 file changed

+33
-0
lines changed

.github/workflows/no-response.yml

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
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 == 'dart-lang/sdk' }}
22+
steps:
23+
- uses: godofredoc/no-response@0ce2dc0e63e1c7d2b87752ceed091f6d32c9df09
24+
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 re-open
31+
the case if you do. Thanks for your contribution!
32+
daysUntilClose: 14
33+
token: ${{ github.token }}

0 commit comments

Comments
 (0)