This is incorrect. If a value is passed as a regular input to a composite action (which is the only way to do this), and it is a secret value located in the repository secrets in the repo settings, then GHA will mask the value.
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Hi! nice article :) I might be misunderstanding the point but secrets can be used by both passing them as parameter and as env variable:
workflow:
action.yaml
That is true, but those values are not treated as a secret.
What that means is that it has security implications. In Actions, a "secret" is always masked using
***
even if you try to print it out.If you pass it as a normal parameter, instead, it is treated as plain text and there for it is logged... very easy to be leaked at that point :)
This is incorrect. If a value is passed as a regular input to a composite action (which is the only way to do this), and it is a secret value located in the repository secrets in the repo settings, then GHA will mask the value.