Skip to content

Commit 5fccb81

Browse files
authored
Update code-gen.yml for Azure Pipelines (#23700)
1 parent 251efaa commit 5fccb81

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

.azure-pipelines/code-gen.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,6 +96,9 @@ jobs:
9696
$Title = "Migrate ${{ parameters.ServiceName }} from $SourceBranch to ${{ parameters.TargetBranch }}"
9797
$HeadBranch = "codegen/${{ parameters.ServiceName }}"
9898
$BaseBranch = "${{ parameters.TargetBranch }}"
99-
$Description = "Migrate ${{ parameters.ServiceName }} from $SourceBranch to ${{ parameters.TargetBranch }}"
99+
$Description = "Migrate ${{ parameters.ServiceName }} from $SourceBranch to ${{ parameters.TargetBranch }}
100+
The last commit of src/${{ parameters.ServiceName }} in $SourceBranch is:
101+
$(git log -1 origin/$SourceBranch -- ./src/${{ parameters.ServiceName }})
102+
"
100103
./tools/Github/CreatePR.ps1 -Title $Title -HeadBranch $HeadBranch -BaseBranch $BaseBranch -BotAccessToken $(GithubToken) -Description $Description
101104
displayName: Create PR to main branch

0 commit comments

Comments
 (0)