ci: keep backport PR titles conventional - #291
Merged
Merged
Conversation
The "[Backport <branch>] " prefix pushed the conventional-commit type out of first position, so every generated backport PR failed PR Title Check. Reuse the source title verbatim and tag the PR with the "backport" label instead, matching frappe's backport workflow. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
There was a problem hiding this comment.
harshtandiya has reached the 50-credit limit for trial accounts. To continue receiving code reviews, upgrade your plan.
Contributor
|
Backport failed for Please cherry-pick the changes locally and resolve any conflicts. git fetch origin main
git worktree add -d .worktree/backport-291-to-main origin/main
cd .worktree/backport-291-to-main
git switch --create backport-291-to-main
git cherry-pick -x 7094813c5cb097476272069d6b308ac7f89ff863 |
harshtandiya
added a commit
that referenced
this pull request
Jul 29, 2026
harshtandiya
added a commit
that referenced
this pull request
Jul 29, 2026
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.
Problem
backport.ymlset:The prefix pushes the conventional-commit type out of first position, so
amannn/action-semantic-pull-requestin PR Title Check cannot parse it. Every generated backport PR failed the check and needed a manual retitle.Fix
pull_title: '${pull_title}'— reuse the source title verbatim. It is already conventional (the source PR passed the same check).add_labels: backport— the label carries the "this is a backport" signal that the title prefix used to. Thebackportlabel already exists in this repo.This matches upstream frappe, which uses
title: "{{originalTitle}}"pluslabelsToAdd: "backport".Notes
backport(no space) does not matchlabel_pattern: '^backport ([^ ]+)$', so labelling the generated PR cannot re-trigger the workflow.Automated backport of #N to \branch``) and in the generated branch name.🤖 Generated with Claude Code