Pattern Proposal: CI Workflow Validation Gates
Summary
validate_workflows.py encodes a series of workflow-quality checks as independent functions, including YAML syntax, zero hardcoding, pinned installers, and composite-action adoption.
Candidate Pattern
- ID:
ci-workflow-validation-gates - Classification: architectural
- Maturity: strategic_direction
- Type: emerging
Observed Signals
No specific signals listed.
Evidence
Supporting Evidence
- specs/090-simplify-cicd-workflows/validate_workflows.py
- specs/090-simplify-cicd-workflows/validate_workflows.py
Scope Assessment
- Evidence Strength: high
- Confidence: high
- Applies to: ideas-to-life-cas
Rationale
- Intent: Enforce structural CI rules via small, reusable validation checks rather than relying on manual review alone.
- Context: A repository with multiple GitHub Actions workflows and a dedicated CI-simplification spec.
- Force: CI pipelines in agent-heavy repos easily accumulate duplication
- Force: Workflow hygiene needs automated enforcement
- Force: Checks are easier to maintain as small functions than one giant linter
Traceability
Artifact source: proposed-patterns