mirror of https://github.com/dotnet/tye.git
committed by
GitHub
4 changed files with 33 additions and 17 deletions
@ -0,0 +1,13 @@ |
|||||
|
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 }} |
||||
Loading…
Reference in new issue