File tree 1 file changed +47
-0
lines changed
1 file changed +47
-0
lines changed Original file line number Diff line number Diff line change
1
+ # Automatically close issues or pull requests that have a label, after a custom delay, if no one replies.
2
+ # https://github.com/tiangolo/issue-manager
3
+ name : Issue Manager
4
+
5
+ on :
6
+ schedule :
7
+ - cron : " 12 0 * * *"
8
+ issue_comment :
9
+ types :
10
+ - created
11
+ issues :
12
+ types :
13
+ - labeled
14
+ pull_request_target :
15
+ types :
16
+ - labeled
17
+ workflow_dispatch :
18
+
19
+ jobs :
20
+ issue-manager :
21
+ # Disables this workflow from running in a repository that is not part of the indicated organization/user
22
+ if : github.repository_owner == 'jazzband'
23
+
24
+ runs-on : ubuntu-latest
25
+ steps :
26
+ -
uses :
tiangolo/[email protected]
27
+ with :
28
+ token : ${{ secrets.GITHUB_TOKEN }}
29
+ config : >
30
+ {
31
+ "answered": {
32
+ "delay": 864000,
33
+ "message": "Assuming the question was answered, this will be automatically closed now."
34
+ },
35
+ "solved": {
36
+ "delay": 864000,
37
+ "message": "Assuming the original issue was solved, it will be automatically closed now."
38
+ },
39
+ "waiting": {
40
+ "delay": 864000,
41
+ "message": "Automatically closing after waiting for additional info. To re-open, please provide the additional information requested."
42
+ },
43
+ "wontfix": {
44
+ "delay": 864000,
45
+ "message": "As discussed, we won't be implementing this. Automatically closing."
46
+ }
47
+ }
You can’t perform that action at this time.
0 commit comments