diff --git a/.github/issue-checker.yml b/.github/issue-checker.yml index f7169e4e19..b7abd56c08 100644 --- a/.github/issue-checker.yml +++ b/.github/issue-checker.yml @@ -559,7 +559,12 @@ comments: skip-if: - "Log upload failed" - name: Check Link - regexes: '(https?://(?!([^/]+\.)?(maa\.plus|prts\.plus|github\.com)(/|$|\s)).+|(?=.*http)(?=.*(gcc\.|changeme)))' - content: "> [!Caution]\n存在未确认的链接,请谨慎访问。\n\ + regexes: 'https?://(?!([^/]+\.)?(maa\.plus|prts\.plus|github\.com)(/|$|\s)).+' + content: "> [!warning]\n存在未确认的链接,请谨慎访问。\n\ There are unconfirmed links, please visit with caution.\n\n${body}" mode: update + - name: Hide gcc + regexes: '(?=.*changeme)(?=.*(gcc))' + content: "> [!Caution]\n该评论中的链接文件含有病毒,请勿下载。\n\ + The file linked in this comment contain a virus. Please do not download it.\n\n${body}" + mode: update