mirror of
https://github.com/actions/runner-images-sangeeth.git
synced 2025-12-30 13:27:15 +08:00
Check environment variables
This commit is contained in:
@@ -13,6 +13,10 @@ jobs:
|
||||
clean: true
|
||||
fetchDepth: 1
|
||||
|
||||
- pwsh: |
|
||||
Get-ChildItem Env:
|
||||
exit 1
|
||||
|
||||
- task: PowerShell@2
|
||||
displayName: 'Validate contributor permissions'
|
||||
condition: startsWith(variables['Build.SourceBranch'], 'refs/pull/')
|
||||
|
||||
Reference in New Issue
Block a user