Skip to content

chore(ci): add PR title lint to enforce conventional commits#66

Merged
FSM1 merged 2 commits into
mainfrom
chore/pr-title-lint
Feb 9, 2026
Merged

chore(ci): add PR title lint to enforce conventional commits#66
FSM1 merged 2 commits into
mainfrom
chore/pr-title-lint

Conversation

@FSM1

@FSM1 FSM1 commented Feb 9, 2026

Copy link
Copy Markdown
Owner

Summary

Test plan

  • Open a PR with a non-conventional title (e.g., "Fix something") — check should fail
  • Edit the title to conventional format (e.g., "fix: something") — check should pass

🤖 Generated with Claude Code

Squash-merge uses the PR title as the commit message on main.
Release Please requires Conventional Commits format to parse
changelogs and version bumps. This check prevents malformed
titles from slipping through.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Copilot AI review requested due to automatic review settings February 9, 2026 06:14
@coderabbitai

coderabbitai Bot commented Feb 9, 2026

Copy link
Copy Markdown

Warning

Rate limit exceeded

@FSM1 has exceeded the limit for the number of commits that can be reviewed per hour. Please wait 1 minutes and 11 seconds before requesting another review.

⌛ How to resolve this issue?

After the wait time has elapsed, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

We recommend that you space out your commits to avoid hitting the rate limit.

🚦 How do rate limits work?

CodeRabbit enforces hourly rate limits for each developer per organization.

Our paid plans have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout.

Please see our FAQ for further information.

✨ Finishing touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch chore/pr-title-lint

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

Adds CI enforcement to ensure PR titles follow Conventional Commits, helping keep squash-merge commit messages compatible with Release Please changelog parsing.

Changes:

  • Introduces a GitHub Actions workflow that lints PR titles on open/edit/synchronize.
  • Implements a bash regex gate for allowed Conventional Commit type(scope): description headers.

Comment thread .github/workflows/pr-title.yml Outdated
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
@FSM1 FSM1 self-assigned this Feb 9, 2026
@FSM1 FSM1 merged commit 05d0fd0 into main Feb 9, 2026
7 checks passed
@FSM1 FSM1 deleted the chore/pr-title-lint branch February 9, 2026 11:08
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