Skip to content

Commit 00f479d

Browse files
authored
remove ADO PAT for PRs (#4864)
1 parent 9c3692c commit 00f479d

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

.azure-pipelines/pipeline.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -275,7 +275,7 @@ extends:
275275
displayName: macOS (x64)
276276
pool:
277277
name: Azure Pipelines
278-
image: macOS-11
278+
image: macOS-12
279279
os: macOS
280280
os: osx
281281
arch: x64

.vsts.release.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -313,6 +313,8 @@ extends:
313313
artifactName: hash
314314
downloadPath: $(Build.SourcesDirectory)/_hashes
315315

316+
- template: /.azure-pipelines/get-pat.yml@self
317+
316318
- bash: |
317319
set -x
318320
cd release
@@ -323,7 +325,7 @@ extends:
323325
displayName: Create PRs in AzureDevOps and ConfigChange
324326
env:
325327
USERNAME: $(User)
326-
PAT: $(AdoPAT)
328+
PAT: $(ACCESS_TOKEN)
327329
USEREMAIL: $(Email)
328330
329331
- stage: S_Notifications

0 commit comments

Comments
 (0)