ensure passwords are redacted with registry-auth

Signed-off-by: CrazyMax <1951866+crazy-max@users.noreply.github.com>
This commit is contained in:
CrazyMax 2026-01-06 11:20:01 +01:00
parent 6862ffc5ab
commit f9cc43b63d
No known key found for this signature in database
GPG Key ID: ADE44D8C9D44FBE4

View File

@ -39,6 +39,9 @@ export async function main(): Promise<void> {
} else {
registries.push(auth.registry);
}
if (auth.password) {
core.setSecret(auth.password);
}
}
stateHelper.setRegistries(registries.filter((value, index, self) => self.indexOf(value) === index));