mirror of
https://github.com/github/awesome-copilot.git
synced 2026-08-09 02:29:13 +00:00
Merge branch 'main' into add-daily-focus-board-skill
This commit is contained in:
@@ -26,7 +26,9 @@ jobs:
|
||||
|
||||
- name: Collect changed files
|
||||
run: |
|
||||
git diff --name-only --diff-filter=ACMR "origin/${{ github.base_ref }}...HEAD" > changed-files.txt
|
||||
git diff --name-only --diff-filter=ACMR "origin/${{ github.base_ref }}...HEAD" \
|
||||
| awk '!/^(README\.md|docs\/README\.[^/]+\.md)$/' \
|
||||
> changed-files.txt
|
||||
echo "Changed files:"
|
||||
cat changed-files.txt || true
|
||||
|
||||
|
||||
@@ -89,7 +89,12 @@ jobs:
|
||||
const rawOutput = fs.existsSync('vally-output.txt')
|
||||
? fs.readFileSync('vally-output.txt', 'utf8')
|
||||
: '';
|
||||
const output = rawOutput.replace(/\x1b\[[0-9;]*m/g, '').trim();
|
||||
const output = rawOutput
|
||||
.replace(/\x1b\[[0-9;]*m/g, '')
|
||||
.split('\n')
|
||||
.filter(line => !line.match(/^npm (warn|notice)/))
|
||||
.join('\n')
|
||||
.trim();
|
||||
|
||||
const errorCount = (output.match(/❌/g) || []).length;
|
||||
const warningCount = (output.match(/⚠/g) || []).length;
|
||||
|
||||
Reference in New Issue
Block a user