зеркало из https://github.com/microsoft/CCF.git
Add component governance CI job (#2303)
This commit is contained in:
Родитель
999d4a2aae
Коммит
be49986624
|
@ -0,0 +1,36 @@
|
|||
trigger:
|
||||
batch: true
|
||||
branches:
|
||||
include:
|
||||
- main
|
||||
- "refs/tags/ccf-*"
|
||||
|
||||
pr:
|
||||
autoCancel: true
|
||||
branches:
|
||||
include:
|
||||
- main
|
||||
|
||||
schedules:
|
||||
- cron: "0 3 * * Mon-Fri"
|
||||
displayName: Daily Component Governance Check
|
||||
branches:
|
||||
include:
|
||||
- main
|
||||
always: true
|
||||
|
||||
jobs:
|
||||
- job: ComponentGovernance
|
||||
displayName: "Component Governance"
|
||||
|
||||
steps:
|
||||
- checkout: self
|
||||
clean: true
|
||||
fetchDepth: 1
|
||||
|
||||
- task: ComponentGovernanceComponentDetection@0
|
||||
inputs:
|
||||
ignoreDirectories: "tests,samples"
|
||||
scanType: "Register"
|
||||
verbosity: "Verbose"
|
||||
alertWarningLevel: "High"
|
Загрузка…
Ссылка в новой задаче