dotnet-installer/eng/common/templates-official/steps/component-governance.yml
dotnet-maestro[bot] 721a2526d2 Update dependencies from https://github.com/dotnet/arcade build 20240404.3
Microsoft.DotNet.Arcade.Sdk , Microsoft.DotNet.Build.Tasks.Installers , Microsoft.DotNet.CMake.Sdk
 From Version 8.0.0-beta.24179.4 -> To Version 8.0.0-beta.24204.3
2024-04-06 13:05:41 +00:00

13 lines
No EOL
544 B
YAML

parameters:
disableComponentGovernance: false
componentGovernanceIgnoreDirectories: ''
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 }}