Skip to content

Commit 748e9f7

Browse files
committed
[antispam] experimenting (WIP)
1 parent 8312086 commit 748e9f7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/scripts/antispam.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ async function when_suspicious({ github, context, failed_checks }){
2323

2424
// REFACTO: might wanna use a score of confidence (how suspicious it is), then react on that
2525

26-
const reasons = failed_checks.map(check => `- ${check.reason}`).join("\n> ");
26+
const reasons = failed_checks.map(check => `> - ${check.reason}`).join("\n");
2727
const commentBody = `> [!WARNING] This issue/PR has been automatically flagged as [suspicious] as it might not meet contribution requirements.
2828
> Please read our contribution guide before submitting.
2929
>

0 commit comments

Comments
 (0)