Skip to content

Commit

Permalink
Add PostAnalysisTask to compliance.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
jonthysell committed Aug 26, 2022
1 parent 4adcb05 commit 2274e06
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions .ado/compliance.yml
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,17 @@ jobs:
debugMode: false
continueOnError: true

# PostAnalysis Task (https://docs.microsoft.com/en-us/azure/security/develop/yaml-configuration#post-analysis-task)
# Breaks the build if any of the tasks failed.
- task: PostAnalysis@1
displayName: "⚖️ Post Analysis"
inputs:
AllTools: false
CredScan: true
PoliCheck: true
PoliCheckBreakOn: Severity4Above
ToolLogsNotFoundAction: "Error"

# Build RNW

- template: templates/msbuild-sln.yml
Expand Down

0 comments on commit 2274e06

Please sign in to comment.