Skip to content

Commit f9cc43b

Browse files
committed
ensure passwords are redacted with registry-auth
Signed-off-by: CrazyMax <1951866+crazy-max@users.noreply.github.com>
1 parent 6862ffc commit f9cc43b

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

src/main.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,9 @@ export async function main(): Promise<void> {
3939
} else {
4040
registries.push(auth.registry);
4141
}
42+
if (auth.password) {
43+
core.setSecret(auth.password);
44+
}
4245
}
4346
stateHelper.setRegistries(registries.filter((value, index, self) => self.indexOf(value) === index));
4447

0 commit comments

Comments
 (0)