Secret for Custom github action #25953
-
Hi everyone! I’m new to the github community and github action. I’m building a custom github action that will download a binary file and run it on the VM. I use GPG to encrypt my binary file with a passphrase. Is there any way to store the passphrase as a secret on github so that every time user runs the action the passphrase is retrieved from the action repository not from the user repository? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
Hi @dohuutamhuy, Glad to see you in Github Community Forum! It’s not supported, repository encrypted secrets are not shared to another repo, hence the user repo cannot retrive the passphrase from the action repo. Thanks |
Beta Was this translation helpful? Give feedback.
-
Thank you for your answer, @weide-zhou ! 😃 |
Beta Was this translation helpful? Give feedback.
Hi @dohuutamhuy,
Glad to see you in Github Community Forum!
It’s not supported, repository encrypted secrets are not shared to another repo, hence the user repo cannot retrive the passphrase from the action repo.
Thanks