ci(lint): update PSScriptAnalyzer settings and suppress warnings for plain-text passwords in templates
This commit is contained in:
@@ -123,6 +123,8 @@
|
||||
Set-ExecutionPolicy Bypass -Scope Process -Force
|
||||
.\Install-CIToolchain-WinBuild2022.ps1 -BuildPassword 'YourPassword'
|
||||
#>
|
||||
[Diagnostics.CodeAnalysis.SuppressMessageAttribute('PSAvoidUsingConvertToSecureStringWithPlainText', '',
|
||||
Justification = 'Template setup script: plain-text password from CI credential store converted to SecureString for local user creation. Intentional by design.')]
|
||||
[CmdletBinding()]
|
||||
param(
|
||||
# Local username for the CI build account inside the VM
|
||||
|
||||
Reference in New Issue
Block a user