-
-
Notifications
You must be signed in to change notification settings - Fork 214
31 lines (28 loc) · 1.22 KB
/
issue-close-require.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
name: Issue Close Require
on:
schedule:
- cron: "0 0 */7 * *"
jobs:
close-issues:
runs-on: ubuntu-latest
steps:
- name: need reproduce
uses: actions-cool/issues-helper@v2.0.0
with:
actions: 'close-issues'
token: ${{ secrets.GITHUB_TOKEN }}
labels: 'Need Reproduce'
inactive-day: 7
body: |
Since the issue was labeled with `Need Reproduce`, but no response in 7 days. This issue will be closed. If you have any questions, you can comment and reply.
由于该 issue 被标记为需要复现,却 7 天未收到回应。现关闭 issue,若有任何问题,可评论回复
- name: needs more info
uses: actions-cool/issues-helper@v2.0.0
with:
actions: 'close-issues'
token: ${{ secrets.GITHUB_TOKEN }}
labels: 'Need More Info'
inactive-day: 7
body: |
Since the issue was labeled with `Need More Info`, but no response in 7 days. This issue will be closed. If you have any questions, you can comment and reply.
由于该 issue 被标记为需要更多信息,却 7 天未收到回应。现关闭 issue,若有任何问题,可评论回复