-
Notifications
You must be signed in to change notification settings - Fork 741
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #4767 from jacob314/add_workflow
Contribute an org 'no response' workflow template
- Loading branch information
Showing
2 changed files
with
41 additions
and
0 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 |
---|---|---|
@@ -0,0 +1,8 @@ | ||
{ | ||
"name": "A 'reply-needed' bot (colabtools)", | ||
"description": "Automation to close 'reply-needed' labelled issues after 21 days of no response", | ||
"iconName": "colab", | ||
"categories": [ | ||
"Colab" | ||
] | ||
} |
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 |
---|---|---|
@@ -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: | ||
# Every day at 8:00 am | ||
- cron: '0 8 * * *' | ||
|
||
# All permissions not specified are set to 'none'. | ||
permissions: | ||
issues: write | ||
|
||
jobs: | ||
noResponse: | ||
runs-on: ubuntu-latest | ||
if: ${{ github.repository_owner == 'googlecolab' }} | ||
steps: | ||
- uses: godofredoc/no-response@0ce2dc0e63e1c7d2b87752ceed091f6d32c9df09 | ||
with: | ||
responseRequiredLabel: "reply-needed" | ||
responseRequiredColor: 8a9113 | ||
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 | ||
issue if you do. Thanks for your contribution! | ||
daysUntilClose: 21 | ||
token: ${{ github.token }} |