No response #12385
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
name: No response | |
# `issues`.`closed`, `issue_comment`.`created`, and `scheduled` event types are required for this Action | |
# to work properly. | |
on: | |
issues: | |
types: [closed] | |
issue_comment: | |
types: [created] | |
schedule: | |
# Schedule for five minutes after the hour, every hour | |
- cron: '5 * * * *' | |
permissions: {} | |
jobs: | |
noResponse: | |
runs-on: ubuntu-latest | |
permissions: | |
contents: read | |
issues: write | |
steps: | |
- uses: MBilalShafi/no-response-add-label@629add01d7b6f8e120811f978c42703736098947 # v0.0.6 | |
with: | |
token: ${{ secrets.GITHUB_TOKEN }} | |
# Number of days of inactivity before an Issue is closed for lack of response | |
daysUntilClose: 7 | |
# Label requiring a response | |
responseRequiredLabel: 'status: waiting for author' | |
# Label to add back when the `responseRequiredLabel` is removed | |
optionalFollowupLabel: 'status: waiting for maintainer' | |
# Comment to post when closing an Issue for lack of response. Set to `false` to disable | |
closeComment: > | |
Since the issue is missing key information and has been inactive for 7 days, it has been automatically closed. | |
If you wish to see the issue reopened, please provide the missing information. |