Skip to content

Commit 3e9ab9a

Browse files
authored
Update owner/approver for EsrpRelease (#36727)
There are cases where the Build.RequestdForEmail is not set, for example when the build is started via service principal for automation. In those cases, lets fallback to our bot email.
1 parent 7200fdd commit 3e9ab9a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

eng/pipelines/templates/stages/partner-release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,8 +64,8 @@ extends:
6464
Intent: 'PackageDistribution'
6565
ContentType: 'PyPI'
6666
FolderLocation: $(Artifacts)
67-
Owners: $(Build.RequestedForEmail)
68-
Approvers: $(Build.RequestedForEmail)
67+
Owners: ${{ coalesce(variables['Build.RequestedForEmail'], '[email protected]') }}
68+
Approvers: ${{ coalesce(variables['Build.RequestedForEmail'], '[email protected]') }}
6969
ServiceEndpointUrl: 'https://api.esrp.microsoft.com'
7070
MainPublisher: 'ESRPRELPACMANTEST'
7171
DomainTenantId: '72f988bf-86f1-41af-91ab-2d7cd011db47'

0 commit comments

Comments
 (0)