Skip to content

Commit fe24c26

Browse files
authored
[Ci] Change the package upgrade PR title (#16674)
* [Ci] Change the package upgrade PR title * Change the branchname variable, and change the body
1 parent 406bdcf commit fe24c26

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.azure-pipelines/azure-pipelines-UpgrateVersion.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -161,8 +161,8 @@ stages:
161161
git branch -u remote/$BRANCH_NAME
162162
163163
echo $GIT_PASSWORD | gh auth login --with-token
164-
TITLE="Upgrade SONiC Versions"
165-
BODY="Upgrade SONiC Versions"
164+
TITLE="[${SOURCE_BRANCH#refs/heads/}] Upgrade SONiC package Versions"
165+
BODY=$TITLE
166166
RET=0
167167
if ! gh pr create -t "$TITLE" -b "$BODY" -B $(Build.SourceBranch) -R $(Build.Repository.Name) > pr.log 2>&1; then
168168
if ! grep -q "already exists" pr.log; then

0 commit comments

Comments
 (0)