Skip to content

ci: Add PR title check#25

Merged
danielpindur merged 1 commit intomasterfrom
add_pr_title_check
Jan 19, 2026
Merged

ci: Add PR title check#25
danielpindur merged 1 commit intomasterfrom
add_pr_title_check

Conversation

@danielpindur
Copy link
Owner

@danielpindur danielpindur commented Jan 19, 2026

Summary by CodeRabbit

  • Chores
    • Implemented automated pull request title validation to enforce consistent naming conventions and improve code organization standards.

✏️ Tip: You can customize this high-level summary in your review settings.

@coderabbitai
Copy link

coderabbitai bot commented Jan 19, 2026

📝 Walkthrough

Walkthrough

A new GitHub Actions workflow is introduced at .github/workflows/action-semantic-pull-request.yml to enforce semantic PR title conventions. The workflow triggers on pull request events (opened, reopened, edited) and uses the semantic-pull-request action to validate PR titles against predefined patterns.

Changes

Cohort / File(s) Summary
GitHub Actions Workflow
​.github/workflows/action-semantic-pull-request.yml
New workflow configuration to lint PR titles using amannn/action-semantic-pull-request@v6; triggers on pull_request_target events; runs on ubuntu-slim with read access to pull-requests; passes GITHUB_TOKEN for authentication.

Estimated code review effort

🎯 2 (Simple) | ⏱️ ~10 minutes

Poem

🐰 A workflow hops into place,
PR titles now keep a good pace,
Semantic checks run real tight,
Keeping pull requests just right,
Standards enforced with GitHub's grace! ✨

🚥 Pre-merge checks | ✅ 3
✅ Passed checks (3 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The PR title 'ci: Add PR title check' accurately describes the main change—adding a GitHub Actions workflow to lint PR titles. It is concise, specific, and clearly summarizes the primary intent of the changeset.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.


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.

Copy link

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

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

Actionable comments posted: 1

🤖 Fix all issues with AI agents
In @.github/workflows/action-semantic-pull-request.yml:
- Line 13: The workflow uses an invalid runner label ("ubuntu-slim") in the
runs-on field which will fail runner resolution; update the runs-on value in the
workflow definition to a valid GitHub-hosted runner (for example "ubuntu-latest"
or "ubuntu-22.04") by replacing the runs-on: ubuntu-slim line in the .github
workflow file so the job can run on a supported runner.

jobs:
main:
name: Validate PR title
runs-on: ubuntu-slim
Copy link

Choose a reason for hiding this comment

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

⚠️ Potential issue | 🔴 Critical

Invalid GitHub-hosted runner label.

ubuntu-slim is not a valid GitHub-hosted runner. This will cause the workflow to fail with a runner resolution error.

🐛 Proposed fix
-    runs-on: ubuntu-slim
+    runs-on: ubuntu-latest
📝 Committable suggestion

‼️ IMPORTANT
Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation. Thoroughly test & benchmark the code to ensure it meets the requirements.

Suggested change
runs-on: ubuntu-slim
runs-on: ubuntu-latest
🤖 Prompt for AI Agents
In @.github/workflows/action-semantic-pull-request.yml at line 13, The workflow
uses an invalid runner label ("ubuntu-slim") in the runs-on field which will
fail runner resolution; update the runs-on value in the workflow definition to a
valid GitHub-hosted runner (for example "ubuntu-latest" or "ubuntu-22.04") by
replacing the runs-on: ubuntu-slim line in the .github workflow file so the job
can run on a supported runner.

@danielpindur danielpindur merged commit 00fcdd3 into master Jan 19, 2026
4 checks passed
@danielpindur danielpindur deleted the add_pr_title_check branch January 19, 2026 18:58
danielpindur added a commit that referenced this pull request Jan 19, 2026
danielpindur added a commit that referenced this pull request Jan 19, 2026
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