diff --git a/.github/workflows/issue-check-inactive.yml b/.github/workflows/issue-check-inactive.yml new file mode 100644 index 000000000..e4ee1732d --- /dev/null +++ b/.github/workflows/issue-check-inactive.yml @@ -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 \ No newline at end of file diff --git a/.github/workflows/issue-close-require.yml b/.github/workflows/issue-close-require.yml new file mode 100644 index 000000000..3bf157681 --- /dev/null +++ b/.github/workflows/issue-close-require.yml @@ -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.