a8a8fd30e2
Co-authored-by: dotnet-maestro[bot] <dotnet-maestro[bot]@users.noreply.github.com>
14 lines
No EOL
569 B
YAML
14 lines
No EOL
569 B
YAML
parameters:
|
|
disableComponentGovernance: false
|
|
componentGovernanceIgnoreDirectories: ''
|
|
is1ESPipeline: false
|
|
|
|
steps:
|
|
- ${{ if eq(parameters.disableComponentGovernance, 'true') }}:
|
|
- script: echo "##vso[task.setvariable variable=skipComponentGovernanceDetection]true"
|
|
displayName: Set skipComponentGovernanceDetection variable
|
|
- ${{ if ne(parameters.disableComponentGovernance, 'true') }}:
|
|
- task: ComponentGovernanceComponentDetection@0
|
|
continueOnError: true
|
|
inputs:
|
|
ignoreDirectories: ${{ parameters.componentGovernanceIgnoreDirectories }} |