Skip to content
This repository was archived by the owner on Jun 20, 2023. It is now read-only.

Commit a1ccd2e

Browse files
authored
Add some internal CI checks
1 parent 6ecece8 commit a1ccd2e

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

azure-pipelines.yml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,21 @@ jobs:
4747
inputs:
4848
pathToPublish: '$(Build.SourcesDirectory)/output'
4949
artifactName: 'windows_output'
50+
# Run some internal auditing
51+
- ${{ if eq(variables['System.TeamProject'], 'devdiv') }}:
52+
- task: ms.vss-governance-buildtask.governance-build-task-component-detection.ComponentGovernanceComponentDetection@0
53+
condition: not(startsWith(variables['Build.SourceBranch'], 'refs/tags/'))
54+
displayName: Component Detection - Log
55+
inputs:
56+
scanType: LogOnly
57+
- task: ms.vss-governance-buildtask.governance-build-task-component-detection.ComponentGovernanceComponentDetection@0
58+
condition: startsWith(variables['Build.SourceBranch'], 'refs/tags/')
59+
displayName: Component Detection - Report
60+
- task: securedevelopmentteam.vss-secure-development-tools.build-task-policheck.PoliCheck@1
61+
condition: eq(variables['System.TeamProject'], 'devdiv')
62+
displayName: 'PoliCheck'
63+
inputs:
64+
targetType: F
5065

5166
# only sign the packages when running on Windows, and using the private server which has the certificates
5267
- ${{ if eq(variables['System.TeamProject'], 'devdiv') }}:

0 commit comments

Comments
 (0)