File tree Expand file tree Collapse file tree 1 file changed +6
-7
lines changed
eng/pipelines/templates/jobs Expand file tree Collapse file tree 1 file changed +6
-7
lines changed Original file line number Diff line number Diff line change @@ -111,6 +111,12 @@ jobs:
111111 parameters :
112112 Artifacts : ${{ parameters.Artifacts }}
113113
114+ - task : ms.vss-governance-buildtask.governance-build-task-component-detection.ComponentGovernanceComponentDetection@0
115+ displayName : " Component Detection"
116+ # ComponentGovernance is currently unable to run on pull requests of public projects. Running on
117+ # scheduled builds should be good enough.
118+ condition : and(succeededOrFailed(), ne(variables['Build.Reason'],'PullRequest'))
119+
114120 - job : " Analyze"
115121 condition : and(succeededOrFailed(), ne(variables['Skip.Analyze'], true))
116122 pool :
@@ -163,13 +169,6 @@ jobs:
163169 -SpellCheckPublicApiSurface
164170 pwsh : true
165171 failOnStderr : false
166- - task : ms.vss-governance-buildtask.governance-build-task-component-detection.ComponentGovernanceComponentDetection@0
167- displayName : " Component Detection"
168- # ComponentGovernance is currently unable to run on pull requests of public projects. Running on
169- # scheduled builds should be good enough.
170- inputs :
171- ignoreDirectories : " sdk/storage/Azure.Storage.Common/swagger/Generator"
172- condition : and(succeededOrFailed(), ne(variables['Build.Reason'],'PullRequest'))
173172 - template : /eng/common/pipelines/templates/steps/eng-common-workflow-enforcer.yml
174173
175174 - template : /eng/common/pipelines/templates/jobs/archetype-sdk-tests-generate.yml
You can’t perform that action at this time.
0 commit comments