From d20d6041e96de26d51c5556888c4380edefd279c Mon Sep 17 00:00:00 2001 From: Dan Hecker Date: Sat, 20 Dec 2025 13:35:54 -0500 Subject: [PATCH] Update src/utils.ts Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> --- src/utils.ts | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/utils.ts b/src/utils.ts index 579c72a9..327a825c 100644 --- a/src/utils.ts +++ b/src/utils.ts @@ -485,7 +485,10 @@ index-url = ${indexUrl} fs.writeFileSync(configPath, configContent, {encoding: 'utf8'}); core.info(`Successfully created pip config file at: ${configPath}`); - // Mask the password in logs if credentials were used + // Mask credentials in logs if they were used + if (username) { + core.setSecret(username); + } if (password) { core.setSecret(password); }