Describe the enhancement
Some actions like https://github.com/release-drafter/release-drafter works with a lot of templating features inside an action and has output in to release notes and action output. It would be great if we had a way to mask our output for any repo or org secrets.
Code Snippet
const maskedOutput = core.maskOutput(output)
Where maskOutput would call a GitHub Action API that will mask any secrets in a string with ****.
Additional information
Somewhat of security concern for potentially leaking secrets with the intent of providing flexibility for users to generate good release notes.
Describe the enhancement Some actions like https://github.com/release-drafter/release-drafter works with a lot of templating features inside an action and has output in to release notes and action output. It would be great if we had a way to mask our output for any repo or org secrets.
Code Snippet
Where maskOutput would call a GitHub Action API that will mask any secrets in a string with
****
.Additional information Somewhat of security concern for potentially leaking secrets with the intent of providing flexibility for users to generate good release notes.
https://github.com/release-drafter/release-drafter/pull/892 https://github.com/release-drafter/release-drafter/issues/847