dotnet-installer/eng/common/templates-official/steps/component-governance.yml
dotnet-maestro[bot] 5b9983e91a
[release/8.0.2xx] Update dependencies from dotnet/arcade (#19106)
[release/8.0.2xx] Update dependencies from dotnet/arcade
2024-03-19 23:33:17 +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 }}