ci: Update issue-checker.yml

[skip changelog]
This commit is contained in:
uye
2024-08-29 11:04:52 +08:00
committed by GitHub
parent 3910bfa0fa
commit f7a4b4bac4

View File

@@ -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