Skip to content

close inactive issues #10554

close inactive issues

close inactive issues #10554

# 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