dotnet-installer/eng/common/templates/steps/component-governance.yml
dotnet-maestro[bot] 58bb98a1bc
[main] Update dependencies from dotnet/arcade (#16183)
[main] Update dependencies from dotnet/arcade
- Coherency Updates:
  - Microsoft.SourceLink.GitHub: from 8.0.0-beta.23218.1 to 8.0.0-beta.23218.3 (parent: Microsoft.DotNet.Arcade.Sdk)
  - Microsoft.DotNet.XliffTasks: from 1.0.0-beta.23217.1 to 1.0.0-beta.23218.1 (parent: Microsoft.DotNet.Arcade.Sdk)
2023-04-21 17:19:05 +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 }}