mirror of
https://github.com/github/awesome-copilot.git
synced 2026-04-11 02:35:55 +00:00
Fix the nightly report summaries (#1251)
* Fix the nightly report summaries * Fix workflow trigger * Fix advisory regex to handle optional variation selector Match ℹ with or without the trailing U+FE0F variation selector so advisory counts are reliable regardless of output encoding.
This commit is contained in:
2
.github/workflows/check-pr-target.yml
vendored
2
.github/workflows/check-pr-target.yml
vendored
@@ -1,7 +1,7 @@
|
||||
name: Check PR Target Branch
|
||||
|
||||
on:
|
||||
pull_request:
|
||||
pull_request_target:
|
||||
branches: [main]
|
||||
types: [opened]
|
||||
|
||||
|
||||
7
.github/workflows/skill-quality-report.yml
vendored
7
.github/workflows/skill-quality-report.yml
vendored
@@ -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 = [];
|
||||
|
||||
Reference in New Issue
Block a user