forked from prettier/prettier
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Migrate from probot/no-response to lee-dohm/no-response (prettier#13891)
Close prettier#13472
- Loading branch information
Showing
5 changed files
with
35 additions
and
14 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
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
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 |
---|---|---|
|
@@ -2,6 +2,7 @@ name: "Lock" | |
|
||
on: | ||
schedule: | ||
# “At 00:00.” https://crontab.guru/#0_0_*_*_* | ||
- cron: "0 0 * * *" | ||
|
||
jobs: | ||
|
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,30 @@ | ||
name: No Response | ||
|
||
# Both `issue_comment` and `scheduled` event types are required for this Action | ||
# to work properly. | ||
on: | ||
issue_comment: | ||
types: | ||
- created | ||
schedule: | ||
# “At minute 0.” https://crontab.guru/#0_*_*_*_* | ||
- cron: "0 * * * *" | ||
|
||
permissions: | ||
issues: write | ||
|
||
jobs: | ||
no-response: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: lee-dohm/no-response@v0.5.0 | ||
with: | ||
token: ${{ github.token }} | ||
daysUntilClose: 14 | ||
responseRequiredLabel: "status:awaiting response" | ||
closeComment: > | ||
This issue has been automatically closed because there has been no response | ||
to our request for more information from the original author. With only the | ||
information that is currently in the issue, we don't have enough information | ||
to take action. Please reach out if you have or find the answers we need so | ||
that we can investigate further. |