Skip to content

Commit 916386b

Browse files
authored
Merge pull request #911 from crazy-max/ensure-redact
ensure passwords are redacted with registry-auth
2 parents 6862ffc + 5b3f94a commit 916386b

File tree

3 files changed

+5
-2
lines changed

3 files changed

+5
-2
lines changed

dist/index.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/index.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

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)