Skip to content

ci: add PR title conventional commit validation#344

Open
notgitika wants to merge 2 commits intoaws:mainfrom
notgitika:ci/pr-title-validation
Open

ci: add PR title conventional commit validation#344
notgitika wants to merge 2 commits intoaws:mainfrom
notgitika:ci/pr-title-validation

Conversation

@notgitika
Copy link
Contributor

Description

Adds a GitHub Actions workflow that validates PR titles follow conventional commit format, aligned with the repo's commit conventions in AGENTS.md (feat:, fix:, chore:, docs:, etc.).

Key behaviors:

  • Enforces lowercase subjects to match existing commit style
  • Validates single-commit PRs match the PR title (prevents accidental bad squash-merge messages)
  • Supports [WIP] prefix to skip validation on draft PRs
  • Skips validation for bot and dependencies labeled PRs
  • Uses pull_request_target for fork PR compatibility

Related Issue

N/A

Documentation PR

N/A

Type of Change

  • New feature

Testing

  • Manually verified workflow YAML syntax
  • I ran npm run test:unit and npm run test:integ
  • I ran npm run typecheck
  • I ran npm run lint

Checklist

  • I have read the CONTRIBUTING document
  • My changes generate no new warnings
  • Any dependent changes have been merged and published

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the
terms of your choice.

@notgitika notgitika requested a review from a team February 19, 2026 01:23
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

Comments