includeIf #3220
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
# 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 8am | |
- cron: '0 8 * * *' | |
# All permissions not specified are set to 'none'. | |
permissions: | |
issues: write | |
jobs: | |
noResponse: | |
runs-on: ubuntu-latest | |
if: ${{ github.repository_owner == 'google' }} | |
steps: | |
- uses: godofredoc/no-response@0ce2dc0e63e1c7d2b87752ceed091f6d32c9df09 | |
with: | |
responseRequiredLabel: "State: needs info" | |
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 case if you do. Thanks for your contribution! | |
token: ${{ github.token }} |