Skip to content

Accessing secrets of custom action's repo #25912

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

You must be logged in to vote

Hi @mv185095,

Glad to see you in Github Community Forum!

To make a secret available to an action, you must set the secret as an input or environment variable in the workflow file. It’s mentioned in the official doc here.

If you’d like the action to perform some internal processing without user input, you have to make it readable to the action, hardcode or can be decrypted in the action, secrets in the action repository is not supported.

Thanks

Replies: 6 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Answer selected
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@brian-welsh
Comment options

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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment