-
Notifications
You must be signed in to change notification settings - Fork 141
37 lines (30 loc) · 1.23 KB
/
close-inactive-issues.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
# 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