Skip to content

Commit af66192

Browse files
authored
ML-samples-submission creates PR based on upstream branch instead of fork (Azure#25966)
1 parent ceff44c commit af66192

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

eng/pipelines/templates/jobs/trigger-ml-sample-pipeline.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ parameters:
1010
skipVerifyChangeLog: true
1111
- name: SamplesRepo
1212
type: string
13-
default: 'https://github.com/scbedd/azureml-examples'
13+
default: 'https://github.com/azure/azureml-examples'
1414

1515
jobs:
1616
- job: 'Build_Upload_PR'
@@ -54,7 +54,7 @@ jobs:
5454
- pwsh: |
5555
git clone --depth 1 ${{ parameters.SamplesRepo }} $(Agent.BuildDirectory)/ml
5656
Write-Host "##vso[task.setvariable variable=mlrepo;]$(Agent.BuildDirectory)/ml"
57-
displayName: Clone the ML Samples Repo
57+
displayName: Clone the ML Samples Repo, Set Variables
5858
5959
- pwsh: |
6060
Get-ChildItem "$(mlrepo)" -R
@@ -78,7 +78,9 @@ jobs:
7878
- template: /eng/common/pipelines/templates/steps/create-pull-request.yml
7979
parameters:
8080
RepoName: azureml-examples
81+
RepoOwner: Azure
8182
PRBranchName: test-ml-sdk-version-${{ parameters.ServiceDirectory }}-$(Build.BuildId)
83+
PROwner: Azure
8284
BaseBranchName: main
8385
CommitMsg: "Update sdk/setup.sh to target fresh built azure-ai-ml wheel."
8486
PRTitle: "SDK Samples Run generated from $(Build.BuildId)"

0 commit comments

Comments
 (0)