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

This commit is contained in:
Simone
2026-05-13 18:54:22 +02:00
committed by Simone
parent 366ff0ce46
commit 7e6b65db18
6 changed files with 23 additions and 5 deletions
@@ -123,6 +123,8 @@
Set-ExecutionPolicy Bypass -Scope Process -Force
.\Install-CIToolchain-WinBuild2025.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