diff --git a/.github/workflows/issue-not-reading-checker.yml b/.github/workflows/issue-not-reading-checker.yml index bd2addcf50..67f264dfee 100644 --- a/.github/workflows/issue-not-reading-checker.yml +++ b/.github/workflows/issue-not-reading-checker.yml @@ -33,13 +33,6 @@ jobs: state: 'closed', state_reason: 'not_planned' }); - - await github.rest.issues.createComment({ - owner: context.repo.owner, - repo: context.repo.repo, - issue_number: context.issue.number, - body: 'This issue has been automatically closed and locked due to the selection of "I did not read carefully."\n\n此 Issue 因勾选"我未仔细阅读"已被自动关闭并锁定' - }); await github.rest.issues.lock({ owner: context.repo.owner, @@ -47,4 +40,4 @@ jobs: issue_number: context.issue.number, lock_reason: 'spam' }); - \ No newline at end of file + diff --git a/docs/zh-cn/develop/ci-tutorial.md b/docs/zh-cn/develop/ci-tutorial.md index b88167eb3a..6ca471d439 100644 --- a/docs/zh-cn/develop/ci-tutorial.md +++ b/docs/zh-cn/develop/ci-tutorial.md @@ -100,6 +100,10 @@ MAA 借助 Github Action 完成了大量的自动化工作,包括网站的构 通过正则匹配给各个 Issue 打 Tag,以此来分类标记 Issue 内容,方便查看与管理 +`issue-not-reading-checker.yml` + +通过正则匹配自动关闭勾选“我未仔细阅读”的 Issue + `stale.yml` 检查超过 90 天没有活动的 Bug Issue,将其标记并发起通知,7 天后若还没有活动则关闭