Skip to content

Job output contains a secret #27007

Answered by weide-zhou
cerna asked this question in Actions
Discussion options

You must be logged in to vote

Hi @cerna ,

Thank you for reaching this out! I checked your workflow yaml, the ImageNameRoot  output value comes from ‘./machinekit-hal/scripts/debian-distro-settings.json’, however not any secrets related. The output value is displayed on the printf command.

For ouput value, it will always display value in logs, it’s a limitation that cannot avoid data leaking with it.

If you include secrets in the output value, it’s by designed that empty will display, checked on my side as below:

Please still avoid printing secrets to the log intentionally.

Thanks.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Packages Host your dependencies, libraries, and production-ready code, right from your repository Product Feedback
2 participants