Skip to content

Is there a way to limit access to a secret to a specific action? #27068

Discussion options

You must be logged in to vote
stefan-wenig:

However, I cannot find a way to pass a secret to an action unless the secret is visible to the entire repo. Am I missing something?

You aren’t, actions can’t access secrets unless the workflow explicitly provides them. As far as I’m aware that’s a design decision for security, so 3rd party actions can’t sneakily access secrets.

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
2 participants