Repository navigation
Commit 958d076
committed
fix: label PR title output to avoid confusion with commit messages
When pr-title is enabled and both the PR title and the only commit
fail the same check, the output appeared duplicated because the PR
title section lacked a label.
Now the PR title check always:
- Uses --no-banner (banner comes from the commit section when needed)
- Prepends a '--- PR Title:' label
This makes the output flow consistently:
--- PR Title:
<error>
--- Commit 1/1:
<error>1 parent 275f4d9 commit 958d076
1 file changed
Lines changed: 9 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
250 | 250 | | |
251 | 251 | | |
252 | 252 | | |
| 253 | + | |
| 254 | + | |
| 255 | + | |
| 256 | + | |
| 257 | + | |
| 258 | + | |
| 259 | + | |
253 | 260 | | |
254 | 261 | | |
255 | 262 | | |
256 | 263 | | |
257 | | - | |
| 264 | + | |
258 | 265 | | |
259 | 266 | | |
| 267 | + | |
260 | 268 | | |
261 | 269 | | |
262 | 270 | | |
| |||
0 commit comments