Skip to content

Check commit subject style - #3

Merged
electrum merged 2 commits into
mainfrom
user/electrum/check-commit-subject-style
Jul 31, 2026
Merged

Check commit subject style#3
electrum merged 2 commits into
mainfrom
user/electrum/check-commit-subject-style

Conversation

@electrum

Copy link
Copy Markdown
Member

The shared checker currently accepts malformed and common past-tense
subjects, so projects cannot rely on it for consistent commit history.

Reject lowercase starts, trailing periods, and ten common past-tense starts
with actionable guidance.

@coderabbitai

coderabbitai Bot commented Jul 31, 2026

Copy link
Copy Markdown

Review Change Stack

Warning

Review limit reached

@electrum, you've reached your PR review limit, so we couldn't start this review.

Next review available in: 37 minutes

Enable usage-based reviews in Billing to review now. Otherwise, wait until the next included review is available.
You're only billed for reviews past your plan's rate limits ($0.25/file).

How can I continue?

After more reviews become available, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

To avoid repeated limits, reduce automatic review volume by pausing incremental auto-reviews earlier, using label-based review opt-in, excluding WIP or generated PR titles, or requesting reviews manually when the PR is ready. If your team needs uninterrupted high-volume reviews, an organization admin can enable usage-based reviews.

How do review limits work?

CodeRabbit enforces per-developer PR review limits for each organization. Most developers receive the normal plan review availability.

For paid Pro and Pro+ PR reviews, CodeRabbit uses adaptive limits for sustained high-volume activity. When a developer's recent PR review activity reaches the 95th percentile or higher among CodeRabbit users, additional reviews become available more gradually as earlier reviews age out of the rolling window.

Please refer docs for additional details.

Review details
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro Plus

Run ID: 21ffe7cf-3745-4e97-9505-770d775407dd

📥 Commits

Reviewing files that changed from the base of the PR and between cccb970 and 98d0578.

📒 Files selected for processing (4)
  • check-commit-messages/README.md
  • check-commit-messages/action.yml
  • check-commit-messages/check.py
  • check-commit-messages/test_check.py
📝 Walkthrough

Walkthrough

The commit-message action now checks subject capitalization, trailing periods, imperative mood, and maximum length. The validator records style violations and imperative suggestions. Diagnostics and success messages include the new subject-style requirements. Tests cover rejected and accepted subject forms. Documentation and the action description reflect the updated checks.

Possibly related PRs

🚥 Pre-merge checks | ✅ 2
✅ Passed checks (2 passed)
Check name Status Explanation
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.

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.

@electrum
electrum force-pushed the user/electrum/check-commit-subject-style branch 2 times, most recently from cccb970 to 0f2d9b5 Compare July 31, 2026 04:10
Table-driven cases obscure which inputs are accepted and what each
failure reports. Use focused assertion helpers so the policy examples
read directly.
@electrum
electrum force-pushed the user/electrum/check-commit-subject-style branch from 0f2d9b5 to e08a4dc Compare July 31, 2026 04:20
The shared checker accepts malformed and common past-tense subjects,
so local and CI checks do not enforce common Airlift commit style. Reject
those forms with specific guidance.
@electrum
electrum force-pushed the user/electrum/check-commit-subject-style branch from e08a4dc to 98d0578 Compare July 31, 2026 04:24
@electrum
electrum enabled auto-merge July 31, 2026 04:39
@electrum
electrum added this pull request to the merge queue Jul 31, 2026
Merged via the queue into main with commit 1652e24 Jul 31, 2026
1 check passed
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