Skip to content

Commit 1e0e38c

Browse files
randclaude
andcommitted
fix: Fix CI workflow errors
This commit addresses three failing CI workflows: 1. Smoke Tests - Add SECURITY.md to skip list - SECURITY.md is a policy document, not a skill file - Added to SKIP_FILES to exclude from frontmatter validation 2. Validate Level 3 Resources - Fix two issues: - Made extract_concepts.py executable (chmod +x) - Improved stub detection to only flag comments, not legitimate gRPC code - Changed regex from '\bstub\b' to '^\s*#.*\bstub\b' to avoid false positives 3. Security Audit - Ensure audits directory exists - Added mkdir -p step before running security_audit.py - Prevents workflow failure when .claude/audits/ doesn't exist 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
1 parent ffa0b77 commit 1e0e38c

4 files changed

Lines changed: 8 additions & 3 deletions

File tree

.github/workflows/security-audit.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,9 @@ jobs:
2727
with:
2828
python-version: '3.11'
2929

30+
- name: Create audits directory
31+
run: mkdir -p .claude/audits
32+
3033
- name: Run security audit
3134
run: |
3235
python3 tests/security_audit.py \

.github/workflows/smoke-tests.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,8 @@ jobs:
5858
"README.md", "ENHANCEMENT_PLAN.md", "ENHANCEMENTS_SUMMARY.md",
5959
"SKILLS_USAGE_GUIDE.md", "CLAUDE.md", "SUMMARY.txt",
6060
"CLAUDE_MD_UPDATES.md", "PLUGIN.md", "MIGRATION.md",
61-
"INDEX.md", "PROJECT_STATUS.md", "QUICK_START.md"
61+
"INDEX.md", "PROJECT_STATUS.md", "QUICK_START.md",
62+
"SECURITY.md"
6263
}
6364
6465
for skill_file in Path(".").rglob("*.md"):

.github/workflows/validate-resources.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -159,8 +159,9 @@ jobs:
159159
echo "⚠️ $script: Contains TODO comments"
160160
((found++))
161161
fi
162-
if grep -qi '\bstub\b' "$script"; then
163-
echo "⚠️ $script: Contains 'stub' references"
162+
# Only flag 'stub' in comments, not legitimate code usage (e.g., gRPC stubs)
163+
if grep -qiE '^\s*#.*\bstub\b' "$script"; then
164+
echo "⚠️ $script: Contains 'stub' references in comments"
164165
((found++))
165166
fi
166167
if grep -qiE '\bmock\b.*\bimplementation\b' "$script"; then

skills/workflow/project-synthesis/resources/scripts/extract_concepts.py

100644100755
File mode changed.

0 commit comments

Comments
 (0)