Skip to content

ci: add semantic PR title linting workflow #36

Description

@snowrugar-beep

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

  1. PR with valid title passes check
  2. PR with invalid title fails check with helpful error
  3. Check runs on PR creation and title edits
  4. 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

  • PR lint workflow created
  • Working correctly

Metadata

Metadata

Labels

Type

No type

Fields

No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions