-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
no-response
- Loading branch information
Showing
1 changed file
with
19 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,34 +1,37 @@ | ||
# 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: | ||
# 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_owner == 'dart-lang' }} | ||
steps: | ||
- uses: godofredoc/no-response@0ce2dc0e63e1c7d2b87752ceed091f6d32c9df09 | ||
- uses: actions/stale@1160a2240286f5da8ec72b1c0816ce2481aabf84 | ||
with: | ||
responseRequiredLabel: "needs-info" | ||
responseRequiredColor: 4774bc | ||
daysUntilClose: 14 | ||
# Comment to post when closing an Issue for lack of response. | ||
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 reopen the | ||
issue if you do. Thanks for your contribution! | ||
token: ${{ github.token }} | ||
# Don't automatically mark inactive issues+PRs as stale. | ||
days-before-stale: -1 | ||
# Close needs-info issues and PRs after 14 days of inactivity. | ||
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! |