diff --git a/content/actions/writing-workflows/choosing-what-your-workflow-does/workflow-commands-for-github-actions.md b/content/actions/writing-workflows/choosing-what-your-workflow-does/workflow-commands-for-github-actions.md index 470b100ee532..c1039c772e01 100644 --- a/content/actions/writing-workflows/choosing-what-your-workflow-does/workflow-commands-for-github-actions.md +++ b/content/actions/writing-workflows/choosing-what-your-workflow-does/workflow-commands-for-github-actions.md @@ -289,6 +289,7 @@ Write-Output "::add-mask::Mona The Octocat" > [!WARNING] > Make sure you register the secret with 'add-mask' before outputting it in the build logs or using it in any other workflow commands. +> This will still leak the string initialy as part of the echo statment. ### Example: Masking an environment variable @@ -324,6 +325,9 @@ jobs: {% endpowershell %} +> [!WARNING] +> This will still leak the string as part of the env. + ### Example: Masking a generated output within a single job If you do not need to pass your secret from one job to another job, you can: