Skip to content

chore: enforce semantic PR title validation#833

Merged
yordis merged 1 commit intomasterfrom
yordis/ci
Mar 6, 2026
Merged

chore: enforce semantic PR title validation#833
yordis merged 1 commit intomasterfrom
yordis/ci

Conversation

@yordis
Copy link
Member

@yordis yordis commented Mar 6, 2026

Summary

  • Adds amannn/action-semantic-pull-request@v5 as a new job in the PR workflow
  • Validates that PR titles follow the Conventional Commits spec
  • Restricts allowed types to feat, fix, and chore
  • Subjects must not start with an uppercase character
  • WIP PRs are allowed; single-commit validation is disabled

Test plan

  • Open a PR with a non-conforming title (e.g. Update readme) — check should fail
  • Open a PR with a disallowed type (e.g. docs: update readme) — check should fail
  • Open a PR with a valid title (e.g. feat: add something) — check should pass

Copilot AI review requested due to automatic review settings March 6, 2026 22:58
@cursor
Copy link

cursor bot commented Mar 6, 2026

PR Summary

Low Risk
Workflow-only change that affects CI gating; main risk is unintended PR check failures due to stricter title rules.

Overview
Adds a new semantic-pr-title job to the PR GitHub Actions workflow to enforce Conventional-Commit-style PR titles.

The check restricts allowed types to feat/fix/chore, makes scope optional, rejects subjects starting with an uppercase letter, and allows WIP titles while skipping single-commit validation.

Written by Cursor Bugbot for commit 2134ac9. This will update automatically on new commits. Configure here.

Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds a dedicated GitHub Actions job to enforce Conventional Commits–style pull request titles, tightening title hygiene at the CI level alongside the existing conventional-commits check.

Changes:

  • Introduces a new semantic-pr-title job using amannn/action-semantic-pull-request@v5.
  • Restricts allowed PR title types to feat, fix, and chore, with scope not required.
  • Enforces a subject rule that disallows subjects starting with an uppercase character; allows WIP PRs and disables single-commit validation.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Add amannn/action-semantic-pull-request to validate PR titles follow
Conventional Commits with types restricted to feat, fix, and chore.
@yordis yordis changed the title ci: enforce semantic PR title validation chore: enforce semantic PR title validation Mar 6, 2026
@yordis yordis merged commit 3519c4d into master Mar 6, 2026
10 of 11 checks passed
@yordis yordis deleted the yordis/ci branch March 6, 2026 23:54
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.

2 participants