[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>
This commit is contained in:
committed by
Commit Queue
parent
1ad3b1c45a
commit
29c3fea3bf
@@ -0,0 +1,33 @@
|
||||
# A workflow to close issues where the author hasn't responded to a request for
|
||||
# more information; see https://github.com/godofredoc/no-response for docs.
|
||||
|
||||
name: No Response
|
||||
|
||||
# Both `issue_comment` and `scheduled` event types are required.
|
||||
on:
|
||||
issue_comment:
|
||||
types: [created]
|
||||
schedule:
|
||||
# Schedule for five minutes after the hour, every hour
|
||||
- cron: '5 * * * *'
|
||||
|
||||
# All permissions not specified are set to 'none'.
|
||||
permissions:
|
||||
issues: write
|
||||
|
||||
jobs:
|
||||
noResponse:
|
||||
runs-on: ubuntu-latest
|
||||
if: ${{ github.repository == 'dart-lang/sdk' }}
|
||||
steps:
|
||||
- uses: godofredoc/no-response@0ce2dc0e63e1c7d2b87752ceed091f6d32c9df09
|
||||
with:
|
||||
responseRequiredLabel: "needs-info"
|
||||
responseRequiredColor: 4774bc
|
||||
closeComment: >
|
||||
Without additional information we're not able to resolve this
|
||||
issue, so it will be closed at this time. You're still free to add
|
||||
more info and respond to any questions above, though. We'll re-open
|
||||
the case if you do. Thanks for your contribution!
|
||||
daysUntilClose: 14
|
||||
token: ${{ github.token }}
|
||||
Reference in New Issue
Block a user