close inactive issues #10557
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 workflow is based on a very similar one from Flutter | |
# https://github.com/flutter/flutter/blob/3.16.0/.github/workflows/no-response.yaml | |
name: close inactive issues | |
on: | |
issue_comment: | |
types: [created] | |
schedule: | |
- cron: '0 * * * *' | |
permissions: | |
issues: write | |
jobs: | |
main: | |
runs-on: ubuntu-latest | |
if: ${{ github.repository == 'leancodepl/patrol' }} | |
steps: | |
- uses: godofredoc/no-response@0ce2dc0e63e1c7d2b87752ceed091f6d32c9df09 | |
with: | |
token: ${{ github.token }} | |
closeComment: > | |
Without additional information, we can't resolve this issue. We're | |
therefore reluctantly going to close it. | |
Feel free to open a new issue with all the required information | |
provided, including a [minimal, reproducible sample]. Make sure to | |
diligently fill out the issue template. | |
Thanks for your contribution. | |
[minimal, reproducible sample]: https://stackoverflow.com/help/minimal-reproducible-example | |
# Number of days of inactivity before an issue is closed. | |
daysUntilClose: 7 | |
# Only issues with this label will be closed (if they are inactive). | |
responseRequiredLabel: waiting for response |