ci(lint): update PSScriptAnalyzer settings and suppress warnings for plain-text passwords in templates

This commit is contained in:
Simone
2026-05-14 18:34:03 +02:00
committed by Simone
parent de31b8b56b
commit cb24c3cfad
6 changed files with 23 additions and 5 deletions
@@ -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