File tree Expand file tree Collapse file tree 3 files changed +87
-0
lines changed Expand file tree Collapse file tree 3 files changed +87
-0
lines changed Original file line number Diff line number Diff line change
1
+ # Configuration for Lock Threads - https://github.com/dessant/lock-threads
2
+
3
+ name : ' Lock Threads'
4
+
5
+ # By specifying the access of one of the scopes, all of those that are not
6
+ # specified are set to 'none'.
7
+ permissions :
8
+ issues : write
9
+
10
+ on :
11
+ schedule :
12
+ - cron : ' 0 0 * * *' # Run every day at midnight
13
+
14
+ jobs :
15
+ lock :
16
+ permissions :
17
+ issues : write
18
+ runs-on : ubuntu-latest
19
+ steps :
20
+
21
+ with :
22
+ process-only : ' issues'
23
+ github-token : ${{ github.token }}
24
+ # Number of days of inactivity before a closed issue is locked.
25
+ issue-inactive-days : 14
26
+ issue-comment : >
27
+ This thread has been automatically locked since there has not been
28
+ any recent activity after it was closed. If you are still experiencing a
29
+ similar issue, please open a new bug and a minimal reproduction of the issue.
Original file line number Diff line number Diff line change
1
+
2
+ name : No Response
3
+
4
+ # Both `issue_comment` and `scheduled` event types are required for this Action
5
+ # to work properly.
6
+ on :
7
+ issue_comment :
8
+ types : [created]
9
+ schedule :
10
+ - cron : ' 0 0 * * *' # Run every day at midnight
11
+
12
+ # By specifying the access of one of the scopes, all of those that are not
13
+ # specified are set to 'none'.
14
+ permissions :
15
+ issues : write
16
+
17
+ jobs :
18
+ noResponse :
19
+ runs-on : ubuntu-latest
20
+ steps :
21
+ - uses : godofredoc/no-response@0ce2dc0e63e1c7d2b87752ceed091f6d32c9df09
22
+ with :
23
+ token : ${{ github.token }}
24
+ # Comment to post when closing an Issue for lack of response. Set to `false` to disable
25
+ closeComment : >
26
+ Without additional information, we are unfortunately not sure how to
27
+ resolve this issue. We are therefore reluctantly going to close this
28
+ bug for now.
29
+
30
+ If you find this problem please file a new issue with the same description,
31
+ what happens and logs. It's always better to open new issues and reference
32
+ the related ones.
33
+
34
+ Thanks for your contribution.
35
+ # Number of days of inactivity before an issue is closed for lack of response.
36
+ daysUntilClose : 21
37
+ # Label requiring a response.
38
+ responseRequiredLabel : " waiting for customer response"
Original file line number Diff line number Diff line change
1
+ name : Close Stale Issues
2
+
3
+ on :
4
+ schedule :
5
+ - cron : ' 0 0 * * *' # Run every day at midnight
6
+
7
+ jobs :
8
+ close-issues :
9
+ runs-on : ubuntu-latest
10
+ permissions :
11
+ issues : write
12
+ steps :
13
+ - name : Close stale issues
14
+ uses : actions/stale@v5
15
+ with :
16
+ days-before-issue-stale : 365
17
+ days-before-issue-close : 0
18
+ stale-issue-label : " stale"
19
+ stale-issue-message : " This issue is stale and has been automatically closed because it has been open for more than 365 days with no activity. Please reopen a new issue if you still have it."
20
+ repo-token : ${{ secrets.GITHUB_TOKEN }}
You can’t perform that action at this time.
0 commit comments