From f7a4b4bac43896ea8d66b53216be777aa2425edc Mon Sep 17 00:00:00 2001 From: uye <99072975+ABA2396@users.noreply.github.com> Date: Thu, 29 Aug 2024 11:04:52 +0800 Subject: [PATCH] ci: Update issue-checker.yml [skip changelog] --- .github/issue-checker.yml | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) 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