nearform-actions / optic-release-automation-action

Automate the release process of your npm packages, apps and actions
18 stars 14 forks source link

fix: fixes OTP leak in case of error #413

Closed vikasbhandari2 closed 7 months ago

vikasbhandari2 commented 7 months ago

What does this PR do?

Since the OTP is a confidential information, it should not be visible in the logs.

This PR fixes the leak and adds the code to redact the confidential arguments so it doesn't print on the Build Error Logs. The supporting tests have been added as well.

github-actions[bot] commented 7 months ago

No linked issues found. Please add the corresponding issues in the pull request description.
Use GitHub automation to close the issue when a PR is merged