mirror of
https://github.com/MaaAssistantArknights/MaaAssistantArknights.git
synced 2026-07-19 02:23:01 +08:00
ci: fix
[skip changelog]
This commit is contained in:
2
.github/workflows/issue-checkbox-checker.yml
vendored
2
.github/workflows/issue-checkbox-checker.yml
vendored
@@ -19,7 +19,7 @@ jobs:
|
||||
const texts = [
|
||||
'我.*未仔细阅读',
|
||||
'I have checked all the options without carefully reading the content and believe this will not affect issue resolution.'];
|
||||
return texts.some(text => new RegExp(`- \\[x\\]\\s*${text.replace(/[.*+?^${}()|[\]\\]/g, '\\$&')}`).test(context.payload.issue.body));
|
||||
return texts.some(text => new RegExp(`- \\[x\\]\\s*${text}`).test(context.payload.issue.body));
|
||||
|
||||
- name: Close and lock issue
|
||||
if: steps.unread-checkbox-check.outputs.result == 'true'
|
||||
|
||||
Reference in New Issue
Block a user