Skip to content

Commit d8d2b43

Browse files
Add branch merging support to our mirror pipeline (Azure#21050)
This adds the ability to do a branch merge as part of our mirroring pipeline. The merge will allow configuration of which files to move from source to target so it can be scoped to part of the branch. Instead of a standard push it will create a PR with the merge so it can be manually reviewed. Co-authored-by: Wes Haggard <[email protected]>
1 parent cc98dfe commit d8d2b43

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

eng/common/pipelines/templates/steps/create-pull-request.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,9 @@ parameters:
1313
PRTitle: not-specified
1414
PRBody: ''
1515
ScriptDirectory: eng/common/scripts
16-
GHReviewersVariable: ''
17-
GHTeamReviewersVariable: ''
18-
GHAssignessVariable: ''
16+
GHReviewers: ''
17+
GHTeamReviewers: ''
18+
GHAssignees: ''
1919
# Multiple labels seperated by comma, e.g. "bug, APIView"
2020
PRLabels: ''
2121
SkipCheckingForChanges: false
@@ -52,8 +52,8 @@ steps:
5252
-PRTitle "${{ parameters.PRTitle }}"
5353
-PRBody "${{ coalesce(parameters.PRBody, parameters.CommitMsg, parameters.PRTitle) }}"
5454
-PRLabels "${{ parameters.PRLabels }}"
55-
-UserReviewers "$(${{ parameters.GHReviewersVariable }})"
56-
-TeamReviewers "$(${{ parameters.GHTeamReviewersVariable }})"
57-
-Assignees "$(${{ parameters.GHAssignessVariable }})"
55+
-UserReviewers "${{ parameters.GHReviewers }}"
56+
-TeamReviewers "${{ parameters.GHTeamReviewers }}"
57+
-Assignees "${{ parameters.GHAssignees }}"
5858
-CloseAfterOpenForTesting $${{ coalesce(parameters.CloseAfterOpenForTesting, 'false') }}
5959
-OpenAsDraft $${{ parameters.OpenAsDraft }}

0 commit comments

Comments
 (0)