Skip to content

Workflow_dispatch - Is it possible to pass a secret as parameter? #26748

Answered by gderaco
gderaco asked this question in Actions
Discussion options

You must be logged in to vote

Thanks.
This is what worked for me

INJECTED_ENV_VAR: ${{secrets[github.event.inputs.injectedEnvVar]}}

Replies: 6 comments 2 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@ecout
Comment options

Answer selected
Comment options

You must be logged in to vote
1 reply
@ffjdm
Comment options

Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment