From b0dea46f0f8eefd9246cb134b71fdf5a39c667f4 Mon Sep 17 00:00:00 2001 From: Wes Haggard Date: Wed, 15 Nov 2023 13:46:38 -0800 Subject: [PATCH] Switch to PAT for queuing builds (#7288) --- eng/pipelines/templates/steps/sync-directory.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/eng/pipelines/templates/steps/sync-directory.yml b/eng/pipelines/templates/steps/sync-directory.yml index e8d2712943e..ecd41aedb7c 100644 --- a/eng/pipelines/templates/steps/sync-directory.yml +++ b/eng/pipelines/templates/steps/sync-directory.yml @@ -93,7 +93,7 @@ steps: -DefinitionId "$(${{repo}}-template-definition-id)" -VsoQueuedPipelines "QUEUEDPIPELINES" -CancelPreviousBuilds $True - -AuthToken $(System.AccessToken) + -AuthToken $(azuresdk-azure-sdk-devops-build-queuing-pat) - task: PowerShell@2 displayName: Queue live-test template pipeline @@ -109,7 +109,7 @@ steps: -DefinitionId "$(${{repo}}-template-tests-definition-id)" -VsoQueuedPipelines "QUEUEDPIPELINES" -CancelPreviousBuilds $True - -AuthToken $(System.AccessToken) + -AuthToken $(azuresdk-azure-sdk-devops-build-queuing-pat) - task: PowerShell@2 displayName: Write Queued Pipeline Information to Tools PR