diff --git a/.github/workflows/check-pr-target.yml b/.github/workflows/check-pr-target.yml index d0e5834c..05f24fa7 100644 --- a/.github/workflows/check-pr-target.yml +++ b/.github/workflows/check-pr-target.yml @@ -1,7 +1,7 @@ name: Check PR Target Branch on: - pull_request: + pull_request_target: branches: [main] types: [opened] diff --git a/.github/workflows/skill-quality-report.yml b/.github/workflows/skill-quality-report.yml index 61889ff3..9bd036ad 100644 --- a/.github/workflows/skill-quality-report.yml +++ b/.github/workflows/skill-quality-report.yml @@ -158,10 +158,11 @@ jobs: const codeowners = parseCodeowners(); // Count findings + // The skill-validator uses emoji markers: ❌ for errors, ⚠ for warnings, ℹ for advisories const combined = skillsOutput + '\n' + agentsOutput; - const errorCount = (combined.match(/\bError\b/gi) || []).length; - const warningCount = (combined.match(/\bWarning\b/gi) || []).length; - const advisoryCount = (combined.match(/\bAdvisory\b/gi) || []).length; + const errorCount = (combined.match(/❌/g) || []).length; + const warningCount = (combined.match(/⚠/g) || []).length; + const advisoryCount = (combined.match(/ℹ\uFE0F?/g) || []).length; // Count total skills & agents checked let skillDirs = [];