mirror of
https://github.com/peakoss/anti-slop
synced 2026-12-01 13:39:13 +08:00
chore(release): v0.1.1
This commit is contained in:
2 files changed
+3
-2
No files matched your search
+2
-1
@@ -50556,7 +50556,8 @@ async function runDescriptionChecks(settings, context, client) {
|
||||
});
|
||||
}
|
||||
if (settings.blockedTerms.length > 0) {
|
||||
const found = settings.blockedTerms.filter((term) => body.includes(term));
|
||||
const visibleBody = body.replace(/<!--[\s\S]*?-->/g, "");
|
||||
const found = settings.blockedTerms.filter((term) => visibleBody.includes(term));
|
||||
recordCheck(results, {
|
||||
name: "blocked-terms",
|
||||
passed: found.length === 0,
|
||||
|
||||
+1
-1
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "anti-slop",
|
||||
"description": "A GitHub action that detects and automatically closes low-quality and AI slop PRs.",
|
||||
"version": "0.1.0",
|
||||
"version": "0.1.1",
|
||||
"author": "peaklabs-dev",
|
||||
"type": "module",
|
||||
"private": true,
|
||||
|
||||
Reference in new issue
Block a user