From a8644f99d6ce15edef500f92c27e09a0cfbf8bbf Mon Sep 17 00:00:00 2001 From: Wes Haggard Date: Wed, 7 Jun 2023 19:40:41 -0700 Subject: [PATCH] Fix usage of Delete-RemoteBranch script call Update to use RepoId instead of RepoOwner/RepoName --- .../templates/stages/archetype-sdk-tool-repo-sync.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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)