File tree Expand file tree Collapse file tree 1 file changed +5
-0
lines changed
eng/common/pipelines/templates/steps Expand file tree Collapse file tree 1 file changed +5
-0
lines changed Original file line number Diff line number Diff line change 55# TargetBranch - Target ref (e.g. main) to compare to create file change
66# list.
77# CspellConfigPath - Path to cspell.json config location
8+ #
9+ # This check recognizes the setting of variable "Skip.SpellCheck"
10+ # if set to 'true', spellchecking will not be invoked.
811
912parameters :
1013 ContinueOnError : true
@@ -13,12 +16,14 @@ parameters:
1316steps :
1417 - ${{ if eq(variables['Build.Reason'], 'PullRequest') }} :
1518 - task : NodeTool@0
19+ condition : and(succeededOrFailed(), ne(variables['Skip.SpellCheck'],'true'))
1620 inputs :
1721 versionSpec : 16.x
1822 displayName : Use Node.js 16.x
1923
2024 - task : PowerShell@2
2125 displayName : Check spelling (cspell)
26+ condition : and(succeededOrFailed(), ne(variables['Skip.SpellCheck'],'true'))
2227 continueOnError : ${{ parameters.ContinueOnError }}
2328 inputs :
2429 targetType : filePath
You can’t perform that action at this time.
0 commit comments