Skip to content

Commit cb5335b

Browse files
authored
[CI] Update sync-alias.yml to push branch to azclibot/azure-cli repo (#31059)
1 parent 29a241f commit cb5335b

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

.azure-pipelines/sync-alias.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -75,14 +75,14 @@ jobs:
7575
git add .github/policies
7676
git commit -m "Sync resourceManagement.yml"
7777
78-
git remote set-url origin https://azclibot:$(GithubToken)@github.com/Azure/azure-cli.git;
79-
git push origin "sync_alias_$env:Build_BuildId" --force
78+
git remote add azclibot https://azclibot:$(GithubToken)@github.com/azclibot/azure-cli.git
79+
git push azclibot "sync_alias_$env:Build_BuildId" --force
8080
displayName: Git commit and push
8181
condition: and(succeeded(), eq(variables['ChangesDetected'], 'true'))
8282
8383
- pwsh: |
8484
$Title = "{CI} Sync resourceManagement.yml according To ADO Wiki Page - Service Contact List"
85-
$HeadBranch = "sync_alias_$env:Build_BuildId"
85+
$HeadBranch = "azclibot:sync_alias_$env:Build_BuildId"
8686
$BaseBranch = "dev"
8787
$Description = "This PR synchronizes the task: 'Triage issues to the service team' part of resourceManagement.yml from table of Service Contact List in ADO wiki page"
8888
@@ -92,5 +92,5 @@ jobs:
9292
9393
Invoke-WebRequest -Uri $Uri -Method POST -Headers $Headers -Body ($RequestBody | ConvertTo-Json)
9494
95-
displayName: Create PR to dev branch
95+
displayName: Create PR to azure/azure-cli dev branch
9696
condition: and(succeeded(), eq(variables['ChangesDetected'], 'true'))

0 commit comments

Comments
 (0)