Repository navigation
ci: move the PR title check to check-pr-title v2.0.3 - #5742
Conversation
v1 of the action calls actions/setup-node by tag inside its composite step, so it cannot meet the org rule that pins every action by SHA. v2.0.3 runs a bundled node24 build and is an immutable release. Behavior changes in this repo: - v2 drops the v1 commitlint rules for the 100-character limit, a trailing period and trailing whitespace. - subjectPattern keeps the v1 rule that a subject does not start with a capital letter. It is stricter on acronyms: `fix: API timeout` passed v1 and now fails. - PRs that a bot opens, such as Dependabot or a GitHub App, skip the check. - The job drops all token permissions. The action reads the title from the event payload. - The job gets a 5-minute timeout. A concurrency group per PR cancels older runs. - The job ID and name stay the same, so a required check keeps its name. Verify: the "Check PR Title" check passes on this PR. Retitle the PR to "Bad title" and confirm that the check fails, then restore the title. Co-Authored-By: Claude Opus 5.5 <[email protected]> 🔒 Scanned for secrets using gitleaks 8.30.1
|
Important Review skippedAuto reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the
|
There was a problem hiding this comment.
🟢 Approval recommended
The workflow changes are supported by the pinned action; the remaining feedback concerns a minor PR-description discrepancy.
1 open issue
What changed in this PR
Updates the PR title validation workflow to SHA-pinned check-pr-title v2.0.3 while preserving the required check’s name.
Changes:
- Migrates to the bundled Node.js action and configures lowercase-initial subject validation.
- Removes token permissions and adds a five-minute job timeout.
- Groups concurrent runs by PR number to cancel outdated checks.
| File | Description |
|---|---|
.github/workflows/check-pr-title.yml |
Updates the action, validation input, permissions, timeout, and concurrency grouping. |
Review effort: Balanced
|
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## develop #5742 +/- ##
========================================
Coverage 92.40% 92.40%
========================================
Files 737 737
Lines 40859 40859
Branches 9587 9592 +5
========================================
Hits 37754 37754
+ Misses 2921 2844 -77
- Partials 184 261 +77 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|




What changed
The PR title check moves from v1 of
rudderlabs/github-action-check-pr-titleto v2.0.3, pinned by SHA.APIandSDK.Merge branch ...,fixup! ..., andRevert ...without a type. GitHub'sRevert "<title>"still passes when the quoted title is valid.Why
v1 calls a setup action by tag inside its own steps, so the repo cannot pin every action by SHA. v2.0.3 runs a bundled node24 build and is an immutable release.
How to verify
Bad title. The check fails. Restore the title.Not covered
🤖 Generated with Claude Code