[skip changelog]
This commit is contained in:
status102
2025-08-11 13:28:04 +08:00
parent bf5198c859
commit 4dbccdf3d7

View File

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