microsoft/onnxruntime-extensions

Public

mirrored fromhttps://github.com/microsoft/onnxruntime-extensionsAvailable

CodeCommitsIssuesPull requestsActionsInsightsSecurity
b7b8816dab43f095079c5c7609764c702e3c6e49

Branches

Tags

  • No tags available.
0Branches0Tags
Go to file
Add file
Code

Clone

HTTPS

Download ZIP

.pipelines/templates/component-governance-component-detection-steps.yml

14lines · modecode

1# component detection for component governance checks
2parameters:
3- name: condition
4 type: string
5 default: 'succeeded' # could be 'ci_only', 'always', 'succeeded'
6
7steps:
8- ${{ if eq(variables['System.TeamProject'], 'Lotus') }}:
9 - task: ms.vss-governance-buildtask.governance-build-task-component-detection.ComponentGovernanceComponentDetection@0
10 displayName: 'Component Detection'
11 condition:
12 or(or(and(eq('${{parameters.condition}}', 'ci_only'), and(succeeded(), in(variables['Build.Reason'], 'IndividualCI', 'BatchedCI', 'Scheduled'))),
13 and(eq('${{parameters.condition}}', 'always'), always())),
14 and(eq('${{parameters.condition}}', 'succeeded'), succeeded()))