ci: enforce conventional commit format on PR titles#909
Open
tmchow wants to merge 1 commit intortk-ai:developfrom
Open
ci: enforce conventional commit format on PR titles#909tmchow wants to merge 1 commit intortk-ai:developfrom
tmchow wants to merge 1 commit intortk-ai:developfrom
Conversation
Add a GitHub Actions workflow that validates PR titles against the conventional commit format before merge. Uses amannn/action-semantic-pull-request to check titles match: feat|fix|chore|docs|ci|refactor|perf|test|build|style This prevents release-please failures caused by non-conventional merge commit titles (the root cause of the v0.31.0 -> v0.33.0 release gap). Fixes rtk-ai#805 Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Contributor
|
Hello, thanks for the contribution, For types you have added many tags that are not supported since for now we just want to use fix/feat/chore , refering to CONTRIBUTING.md. Since PR can group multiples features/fixtures type, we for now keep versioning level tag like those. |
Contributor
|
Also quick thoughts but you're using an external git action, since you want to check PR title naming convention, and it is pretty simple, we could just script it instead of using a dependencies. Did you identify any other interesting use or future usage that we could get from this dependencies? I'm looking at this PR because it could fit in the contributor onboarding refacto we are working on |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
.github/workflows/pr-title-check.ymlusingamannn/action-semantic-pull-request@v5Test plan
Fixes #805
This contribution was developed with AI assistance (Claude Code).