diff --git a/eng/pipelines/templates/stages/archetype-sdk-tool-repo-sync.yml b/eng/pipelines/templates/stages/archetype-sdk-tool-repo-sync.yml index 274de9f65e6..ea21f57d0d1 100644 --- a/eng/pipelines/templates/stages/archetype-sdk-tool-repo-sync.yml +++ b/eng/pipelines/templates/stages/archetype-sdk-tool-repo-sync.yml @@ -174,8 +174,7 @@ stages: workingDirectory: $(System.DefaultWorkingDirectory) filePath: $(System.DefaultWorkingDirectory)/eng/common/scripts/Delete-RemoteBranches.ps1 arguments: > - -RepoOwner "Azure" - -RepoName ${{ repo }} + -RepoId "Azure/${{ repo }}" -BranchRegex "sync-${{ parameters.DirectoryToSync }}-$(System.PullRequest.SourceBranch)-$(System.PullRequest.PullRequestNumber)" -AuthToken $(azuresdk-github-pat)