Skip to content

feat(ci): add pattern validation and CI workflow - #40

Merged
oskarth merged 3 commits into
masterfrom
feature/ci-infrastructure
Jan 13, 2026
Merged

oskarth merged 3 commits into
masterfrom
feature/ci-infrastructure

Conversation

@oskarth

@oskarth oskarth commented Jan 13, 2026

Copy link
Copy Markdown
Collaborator

Summary

Implements PR-001 and PR-002 from the Q1 2026 PRD to establish CI quality gates for pattern documentation.

  • ✅ GitHub Actions workflow for automated validation
  • ✅ Pattern validation script checking frontmatter and required sections
  • ✅ Markdown link checking and linting
  • ✅ File naming convention enforcement

Test Plan

  • Validation script tested on existing patterns
  • Identified 5 errors and 35 warnings in current patterns
  • CI runs in warning mode for existing patterns, strict for new ones
  • CI workflow will be validated when this PR runs

Notes

The validation currently reports:

  • 5 errors (incorrect file naming, missing frontmatter)
  • 35 warnings (mostly missing recommended fields)

This allows gradual migration without blocking all work.

Addresses #[issue_number] (if applicable)

- Implement PR-001 and PR-002 from Q1 2026 PRD
- Add GitHub Actions workflow for quality gates
- Create pattern validation script with frontmatter checks
- Include markdown link checking and linting
- Validate file naming conventions and required sections
- Run in warning mode for existing patterns
@oskarth
oskarth requested review from Meyanis95 and mojalil January 13, 2026 05:30
- Fix pattern file naming conventions (remove uppercase, vendor names)
- Correct typo: stealth-adresses -> stealth-addresses
- Fix YAML frontmatter syntax in stealth-addresses pattern
- Update validation script to exclude README files
- Update references to pattern-pretrade-privacy-encryption.md
- Update references to pattern-crypto-registry-bridge-ewpg-eas.md
- Fixes CI validation error for vendor-specific pattern references
@oskarth
oskarth merged commit f5d61c0 into master Jan 13, 2026
3 checks passed
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.

1 participant