Merge pull request #911 from crazy-max/ensure-redact

ensure passwords are redacted with registry-auth
This commit is contained in:
CrazyMax 2026-01-07 09:35:51 +01:00 committed by GitHub
commit 916386b000
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 5 additions and 2 deletions

2
dist/index.js generated vendored

File diff suppressed because one or more lines are too long

2
dist/index.js.map generated vendored

File diff suppressed because one or more lines are too long

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));