Skip to content

Commit 7aa17a0

Browse files
committed
Fix production ops CI hygiene
1 parent 1c0102f commit 7aa17a0

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

infra/scripts/flowchain-no-secret-scan.ps1

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -61,9 +61,9 @@ foreach ($path in $Paths) {
6161
[void] $scanned.Add($file.FullName)
6262
$text = Get-Content -Raw -LiteralPath $file.FullName
6363
foreach ($pattern in @(
64-
"BEGIN RSA PRIVATE KEY",
65-
"BEGIN OPENSSH PRIVATE KEY",
66-
"BEGIN PRIVATE KEY",
64+
("BEGIN RSA " + "PRIVATE KEY"),
65+
("BEGIN OPENSSH " + "PRIVATE KEY"),
66+
("BEGIN " + "PRIVATE KEY"),
6767
"seedPhrase",
6868
"mnemonicPhrase",
6969
"privateKey",

0 commit comments

Comments
 (0)