From c55f3b835736d2b12fe52d8e924088db2d528fd5 Mon Sep 17 00:00:00 2001 From: xumia <59720581+xumia@users.noreply.github.com> Date: Wed, 27 Sep 2023 20:50:21 +0800 Subject: [PATCH] [Ci] Change the package upgrade PR title (#16674) * [Ci] Change the package upgrade PR title * Change the branchname variable, and change the body --- .azure-pipelines/azure-pipelines-UpgrateVersion.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.azure-pipelines/azure-pipelines-UpgrateVersion.yml b/.azure-pipelines/azure-pipelines-UpgrateVersion.yml index 1d2a0fbae6dc..6800b0c8e057 100644 --- a/.azure-pipelines/azure-pipelines-UpgrateVersion.yml +++ b/.azure-pipelines/azure-pipelines-UpgrateVersion.yml @@ -161,8 +161,8 @@ stages: git branch -u remote/$BRANCH_NAME echo $GIT_PASSWORD | gh auth login --with-token - TITLE="Upgrade SONiC Versions" - BODY="Upgrade SONiC Versions" + TITLE="[${SOURCE_BRANCH#refs/heads/}] Upgrade SONiC package Versions" + BODY=$TITLE RET=0 if ! gh pr create -t "$TITLE" -b "$BODY" -B $(Build.SourceBranch) -R $(Build.Repository.Name) > pr.log 2>&1; then if ! grep -q "already exists" pr.log; then