2021-12-10 22:47:19 +08:00
name : Issue Inactive
on :
schedule :
2021-12-30 17:06:13 +08:00
# GMT+8 00:00
- cron : '0 16 * * *'
2021-12-10 22:47:19 +08:00
jobs :
close-issues :
runs-on : ubuntu-latest
2022-01-07 18:32:47 +08:00
if : ${{ github.repository_owner == 'element-plus' }}
2021-12-10 22:47:19 +08:00
steps :
- name : need reproduction
uses : actions-cool/issues-helper@v2
with :
actions : 'close-issues'
labels : 'need reproduction'
inactive-day : 3
- name : needs more info
uses : actions-cool/issues-helper@v2
with :
actions : 'close-issues'
labels : 'needs more info'
inactive-day : 3
body : |
Since the issue was labeled with `needs-more-info`, but no response in 3 days. This issue will be closed. If you have any questions, you can comment and reply.
由于该 issue 被标记为需要更多信息,却 3 天未收到回应。现关闭 issue, 若有任何问题, 可评论回复。
lock-issues :
runs-on : ubuntu-latest
2022-01-07 18:32:47 +08:00
if : ${{ github.repository_owner == 'element-plus' }}
2021-12-10 22:47:19 +08:00
steps :
- name : lock-issues
uses : actions-cool/issues-helper@v2
with :
actions : 'lock-issues'
token : ${{ secrets.GITHUB_TOKEN }}
issue-state : closed
inactive-day : 30
2021-12-12 23:31:02 +08:00
# body: |
# This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.
2021-12-10 22:47:19 +08:00
2021-12-12 23:31:02 +08:00
# 此 issue 已被自动锁定,因为关闭后没有任何近期活动。如果有相关 bug, 请重新创建一个新 issue。
2021-12-10 22:47:19 +08:00
check-inactive :
runs-on : ubuntu-latest
2022-01-07 18:32:47 +08:00
if : ${{ github.repository_owner == 'element-plus' }}
2021-12-10 22:47:19 +08:00
steps :
- name : check-inactive
uses : actions-cool/issues-helper@v2
with :
actions : 'check-inactive'
inactive-day : 30