'Using a github secret in local node.js run

I have created a secret in github secrets. I also modified my .yaml file to set the secret to the env variables.

However, how can I use my github secret for my local run? How can I load the github secret in my local Node.js env?

I do not want the secret to be stored locally.



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source