Fix comments
This commit is contained in:
@@ -3,14 +3,15 @@ jobs:
|
|||||||
displayName: Image Generation (${{ parameters.image_label }})
|
displayName: Image Generation (${{ parameters.image_label }})
|
||||||
timeoutInMinutes: 720
|
timeoutInMinutes: 720
|
||||||
pool:
|
pool:
|
||||||
name: Mac-Cloud V2 Image Generation
|
name: Mac-Cloud Image Generation
|
||||||
variables:
|
variables:
|
||||||
- group: Mac-Cloud Image Generation
|
- group: Mac-Cloud Image Generation
|
||||||
- group: Mac-Cloud Image Generation Key Vault
|
- group: Mac-Cloud Image Generation Key Vault
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- pwsh: |
|
- pwsh: |
|
||||||
$validСontributor = ${$env:CONTRIBUTOR_ALLOWLIST}.Split(",").Trim() | Where-Object { $_ -eq $env:BUILD_SOURCEVERSIONAUTHOR } `
|
$allowedContributors = $env:CONTRIBUTOR_ALLOWLIST.Split(",").Trim()
|
||||||
|
$validСontributor = $allowedContributors | Where-Object { $_ -eq $env:BUILD_SOURCEVERSIONAUTHOR } `
|
||||||
| Select-Object -First 1
|
| Select-Object -First 1
|
||||||
|
|
||||||
if (-not $validСontributor) {
|
if (-not $validСontributor) {
|
||||||
|
|||||||
Reference in New Issue
Block a user