blast repo changes: no-response

Closes https://github.com/dart-lang/sdk/pull/52454

GitOrigin-RevId: 403b258e3622a6a7610b562f5c25c64cb1a9fa38
Change-Id: I1aa500907b08fc1b2045247e10ab746f5b0b3667
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/304287
Commit-Queue: Devon Carew <devoncarew@google.com>
Reviewed-by: Kevin Moore <kevmoo@google.com>
This commit is contained in:
Devon Carew 2023-05-22 18:23:46 +00:00 committed by Commit Queue
parent c192336dde
commit a91a72a168

View file

@ -1,33 +1,35 @@
# 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.
# more information; see https://github.com/actions/stale.
name: No Response
# Both `issue_comment` and `scheduled` event types are required.
# Run as a daily cron.
on:
issue_comment:
types: [created]
schedule:
# Schedule for five minutes after the hour, every hour
- cron: '5 * * * *'
# Every day at 8am
- cron: '0 8 * * *'
# All permissions not specified are set to 'none'.
permissions:
issues: write
pull-requests: write
jobs:
noResponse:
no-response:
runs-on: ubuntu-latest
if: ${{ github.repository == 'dart-lang/sdk' }}
if: ${{ github.repository_owner == 'dart-lang' }}
steps:
- uses: godofredoc/no-response@0ce2dc0e63e1c7d2b87752ceed091f6d32c9df09
- uses: actions/stale@1160a2240286f5da8ec72b1c0816ce2481aabf84
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 }}
days-before-stale: -1
days-before-close: 14
stale-issue-label: "needs-info"
close-issue-message: >
Without additional information we're not able to resolve this issue.
Feel free to add more info or respond to any questions above and we
can reopen the case. Thanks for your contribution!
stale-pr-label: "needs-info"
close-pr-message: >
Without additional information we're not able to resolve this PR.
Feel free to add more info or respond to any questions above.
Thanks for your contribution!