Skip to content

Commit d6668f3

Browse files
Use target branch name into the PR subject line
Signed-off-by: Shreeya Patel <spatel@ciq.com>
1 parent 555242f commit d6668f3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/kernel-build-and-test-x86_64.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -515,13 +515,13 @@ jobs:
515515
if [ -n "$EXISTING_PR" ]; then
516516
echo "PR #$EXISTING_PR already exists, updating it"
517517
gh pr edit "$EXISTING_PR" \
518-
--title "[${{ github.ref_name }}] ${{ steps.commit_msg.outputs.commit_subject }}" \
518+
--title "[$BASE_BRANCH] ${{ steps.commit_msg.outputs.commit_subject }}" \
519519
--body-file pr_body.md
520520
else
521521
echo "Creating new PR from ${{ github.ref_name }} to $BASE_BRANCH"
522522
gh pr create \
523523
--base "$BASE_BRANCH" \
524524
--head "${{ github.ref_name }}" \
525-
--title "[${{ github.ref_name }}] ${{ steps.commit_msg.outputs.commit_subject }}" \
525+
--title "[$BASE_BRANCH] ${{ steps.commit_msg.outputs.commit_subject }}" \
526526
--body-file pr_body.md
527527
fi

0 commit comments

Comments
 (0)