Skip to content

Fix skill contribution check: exclude documentation examples from API…#43

Merged
4eckd merged 1 commit intoascii-mockup-skillfrom
claude/fix-skill-contributions-test-2P0xp
Mar 26, 2026
Merged

Fix skill contribution check: exclude documentation examples from API…#43
4eckd merged 1 commit intoascii-mockup-skillfrom
claude/fix-skill-contributions-test-2P0xp

Conversation

@4eckd
Copy link
Copy Markdown

@4eckd 4eckd commented Mar 26, 2026

… key pattern detection

The sensitive pattern check was too strict and caught placeholder examples in markdown documentation (e.g., api_key='your-api-key'). Updated the workflow to:

  • Only check high-confidence secret patterns (sk-, AKIA, ghp_*) in markdown files
  • Check full pattern set including generic patterns (password=, api_key=, client_secret=) only in code files (.py, .js, .ts, .sh, .txt)
  • This allows documentation to include example code without false positives

Fixes the 'Check for sensitive patterns' validation step.

… key pattern detection

The sensitive pattern check was too strict and caught placeholder examples in markdown documentation (e.g., api_key='your-api-key'). Updated the workflow to:
- Only check high-confidence secret patterns (sk-*, AKIA*, ghp_*) in markdown files
- Check full pattern set including generic patterns (password=, api_key=, client_secret=) only in code files (.py, .js, .ts, .sh, .txt)
- This allows documentation to include example code without false positives

Fixes the 'Check for sensitive patterns' validation step.
@4eckd 4eckd merged commit 7f70566 into ascii-mockup-skill Mar 26, 2026
@4eckd 4eckd deleted the claude/fix-skill-contributions-test-2P0xp branch March 26, 2026 15:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants