This directory contains GitHub-specific configuration and automation.
.github/
├── workflows/ # GitHub Actions workflows
│ └── foundation-validation.yml # PR validation
├── ISSUE_TEMPLATE/ # Issue templates
├── pull_request_template.md # PR template
├── CODEOWNERS # Code ownership rules
└── README.md # This file
Triggers: Pull requests to main, pushes to main Purpose: Validates foundation alignment on every PR Checks:
- Runs
tools/validate-foundation.sh - Ensures no uncommitted changes
- Blocks PR merge if validation fails
Why: Replicates local pre-commit hooks on GitHub's side. Local hooks only run on individual machines - GitHub Actions ensures validation happens on all PRs regardless of local setup.
Provides structured format for PR descriptions including:
- Summary of changes
- Links to ADRs
- Traceability to requirements/vision
- Validation performed
Structured formats for:
- Bug reports
- Feature requests
- Questions
- Other issue types
CODEOWNERS file defines who reviews changes to specific files/directories.
GitHub Actions workflows run automatically - you don't trigger them manually. When you create a PR, GitHub runs these checks.
If validation fails:
- Review the GitHub Actions log
- Fix the issues locally
- Commit fixes
- Push to PR branch
- GitHub re-runs validation automatically
GitHub Actions provide automated quality gates. PRs can't merge until checks pass, ensuring foundation standards are maintained automatically.
Note: GitHub Actions workflows are configured here but execute on GitHub's infrastructure, not locally.