chore: 添加 workflow 检查issue

pull/7318/head
ibuler 3 years ago committed by 老广
parent ac4b6e5b96
commit e45b893662

@ -0,0 +1,16 @@
name: Issue Check Inactive
on:
schedule:
- cron: "0 0 */15 * *"
jobs:
issue-check-inactive:
runs-on: ubuntu-latest
steps:
- name: check-inactive
uses: actions-cool/issues-helper@v2
with:
actions: 'check-inactive'
inactive-label: 'Inactive'
inactive-day: 30

@ -0,0 +1,27 @@
name: Issue Close Require
on:
schedule:
- cron: "0 0 * * *"
jobs:
issue-close-require:
runs-on: ubuntu-latest
steps:
- name: need reproduce
uses: actions-cool/issues-helper@v2
with:
actions: 'close-issues'
labels: '状态:待反馈'
inactive-day: 7
body: |
由于该 issue 被标记为 状态:待反馈,却 7 天未收到回应。现关闭 issue若有任何问题可评论回复。
- name: needs more info
uses: actions-cool/issues-helper@v2
with:
actions: 'close-issues'
labels: 'needs-more-info'
inactive-day: 7
body: |
Since the issue was labeled with `needs-more-info`, but no response in 7 days. This issue will be closed. If you have any questions, you can comment and reply.
Loading…
Cancel
Save