Problem Statement
No semantic versioning enforcement on PR titles. This means the changelog generator cannot automatically categorize changes by type (feat, fix, chore, etc.).
Evidence
- No PR title check workflow
- Changelog generator expects conventional commit format
Impact
Changelog generator cannot categorize changes. Release notes must be manually compiled.
Proposed Solution
Create GitHub Action workflow that validates PR titles match conventional commits format (feat:, fix:, chore:, docs:, refactor:, test:, ci:, security:, perf:, infra:, obs:, a11y:).
Technical Requirements
- Must use amannn/action-semantic-pull-request action
- Must validate on PR open and title edit
- Must provide clear error message on invalid titles
- Must list valid types in error message
Acceptance Criteria
- PR with valid title passes check
- PR with invalid title fails check with helpful error
- Check runs on PR creation and title edits
- Valid types match project conventions
File Inventory
.github/workflows/pr-title-lint.yml (new)
Dependencies
None.
Testing Strategy
- Create test PR with valid and invalid titles
Security Considerations
None.
Definition of Done
Problem Statement
No semantic versioning enforcement on PR titles. This means the changelog generator cannot automatically categorize changes by type (feat, fix, chore, etc.).
Evidence
Impact
Changelog generator cannot categorize changes. Release notes must be manually compiled.
Proposed Solution
Create GitHub Action workflow that validates PR titles match conventional commits format (feat:, fix:, chore:, docs:, refactor:, test:, ci:, security:, perf:, infra:, obs:, a11y:).
Technical Requirements
Acceptance Criteria
File Inventory
.github/workflows/pr-title-lint.yml(new)Dependencies
None.
Testing Strategy
Security Considerations
None.
Definition of Done