Merge pull request #911 from crazy-max/ensure-redact
Some checks failed
validate / prepare (push) Successful in 10s
test / test (push) Successful in 1m28s
validate / validate (push) Successful in 1m20s
codeql / analyze (javascript-typescript) (push) Failing after 5m57s

ensure passwords are redacted with registry-auth
This commit is contained in:
CrazyMax
2026-01-07 09:35:51 +01:00
committed by GitHub
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 { } else {
registries.push(auth.registry); registries.push(auth.registry);
} }
if (auth.password) {
core.setSecret(auth.password);
}
} }
stateHelper.setRegistries(registries.filter((value, index, self) => self.indexOf(value) === index)); stateHelper.setRegistries(registries.filter((value, index, self) => self.indexOf(value) === index));