-
Notifications
You must be signed in to change notification settings - Fork 2k
49 lines (44 loc) · 2.24 KB
/
issue-close-inactive.yml
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
38
39
40
41
42
43
44
45
46
47
48
49
name: Issue Close Inactive
on:
schedule:
- cron: "0 0 * * *"
jobs:
close-issues:
runs-on: ubuntu-latest
steps:
- name: close inactive issue without reprodction
uses: actions-cool/issues-helper@v2.2.1
with:
actions: 'close-issues'
labels: 'Need Reproduction'
inactive-day: 30
body: |
Since the issue was labeled with `Need Reproduction`, but no response in 30 days. This issue will be close. If you have any questions, you can comment and reply.
由于该 issue 被标记为需要可复现步骤,却 30 天未收到回应。现关闭 issue,若有任何问题,可评论回复。
- name: close inactive issue not use template
uses: actions-cool/issues-helper@v2.2.1
with:
actions: 'close-issues'
labels: 'pls use issue template'
inactive-day: 30
body: |
Since the issue was labeled with `pls use issue template`, but no response in 30 days. This issue will be close. If you have any questions, you can comment and reply.
由于该 issue 被标记为需要使用模板,却 30 天未收到回应。现关闭 issue,若有任何问题,可评论回复。
- name: close inactive issue out of scope
uses: actions-cool/issues-helper@v2.2.1
with:
actions: 'close-issues'
labels: 'out-of-scope'
inactive-day: 30
body: |
Since the issue was labeled with `out-of-scope`, but no response in 30 days. This issue will be close. If you have any questions, you can comment and reply.
由于该 issue 被标记为与本项目无关,却 30 天未收到回应。现关闭 issue,若有任何问题,可评论回复。
- name: close inactive issue
uses: actions-cool/issues-helper@v2.2.1
with:
actions: 'close-issues'
labels: 'inactive'
inactive-day: 7
body: |
Since the issue was labeled with `inactive`, but no response in 7 days. This issue will be close. If you have any questions, you can comment and reply.
由于该 issue 被标记为不活跃,且 7 天未收到回应。现关闭 issue,若有任何问题,可评论回复。