Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/check-pr-target.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: Check PR Target Branch

on:
pull_request:
pull_request_target:
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@aaronpowell - I recall there being an advisory about pull_request_target being a security risk.

branches: [main]
types: [opened]

Expand Down
7 changes: 4 additions & 3 deletions .github/workflows/skill-quality-report.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 = [];
Expand Down
Loading