forked from desktop/desktop
-
Notifications
You must be signed in to change notification settings - Fork 0
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 desktop#14762 from desktop/actions-no-response
Add Actions no-response workflow
- Loading branch information
Showing
2 changed files
with
31 additions
and
16 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
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,31 @@ | ||
name: No Response | ||
|
||
# Both `issue_comment` and `scheduled` event types are required for this Action | ||
# to work properly. | ||
on: | ||
issue_comment: | ||
types: [created] | ||
schedule: | ||
# Schedule for five minutes after the hour, every hour | ||
- cron: '5 * * * *' | ||
|
||
permissions: | ||
issues: write | ||
|
||
jobs: | ||
noResponse: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: lee-dohm/[email protected] | ||
with: | ||
token: ${{ secrets.GITHUB_TOKEN }} | ||
closeComment: > | ||
Thank you for your issue! | ||
We haven’t gotten a response to our questions above. With only the | ||
information that is currently in the issue, we don’t have enough | ||
information to take action. We’re going to close this but don’t | ||
hesitate to reach out if you have or find the answers we need. If | ||
you answer our questions above, this issue will automatically | ||
reopen. | ||
daysUntilClose: 7 |