diff --git a/.github/workflows/issue_maintenance.yml b/.github/workflows/issue_maintenance.yml new file mode 100644 index 00000000..3ac31f18 --- /dev/null +++ b/.github/workflows/issue_maintenance.yml @@ -0,0 +1,22 @@ +name: Issue Maintenance + +on: + schedule: + - cron: "0 0 * * 2" + +jobs: + check-inactive: + runs-on: ubuntu-latest + steps: + - name: check-inactive + uses: actions-cool/issues-helper@v3.6.0 + with: + actions: 'check-inactive' + token: ${{ secrets.GITHUB_TOKEN }} + inactive-day: 14 + issue-state: 'open' + labels: '等待提交者' + body: | + 此 Issue 因长时间无回复而关闭,您仍可在下方回复内容。 + This issue has been closed due to long time inactive, you can still comment here. + close-reason: 'not_planned' diff --git a/.github/workflows/issue_similarity.yml b/.github/workflows/issue_similarity.yml index 49735c53..b697678a 100644 --- a/.github/workflows/issue_similarity.yml +++ b/.github/workflows/issue_similarity.yml @@ -16,4 +16,3 @@ jobs: comment-body: '${index}. ${similarity} #${number}' show-footer: false show-mentioned: true - since-days: 730