Using GitHub secrets in a local environment #171703
Replies: 2 comments 2 replies
-
| it seems you are referring to  
 | 
Beta Was this translation helpful? Give feedback.
-
| 🕒 Discussion Activity Reminder 🕒 This Discussion has been labeled as dormant by an automated system for having no activity in the last 60 days. Please consider one the following actions: 1️⃣ Close as Out of Date: If the topic is no longer relevant, close the Discussion as  2️⃣ Provide More Information: Share additional details or context — or let the community know if you've found a solution on your own. 3️⃣ Mark a Reply as Answer: If your question has been answered by a reply, mark the most helpful reply as the solution. Note: This dormant notification will only apply to Discussions with the  Thank you for helping bring this Discussion to a resolution! 💬 | 
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Select Topic Area
Question
Body
So I am trying to setup GitHub actions to do some automation things at home until i have the capabilities to run them locally on a home lab type setup and have been using GitHub Action Secrets, and subsequently Codespaces for coding along with Codespaces secrets, for things like API keys and passkeys. I want to try and move away from Codespaces to not incur any billing time for using the service, and instead go back to using my ide locally on my computer, but I can't seem to find a way to locally get the GitHub secrets to keep the same code that I already have setup. Am I able to locally create environment variables that are the same as the secret values that don't get pushed to GitHub via something like a .gitignore file? I don't want to have to change code each time I am testing locally, but I don't want to continue using Codespaces unless I am working on my iPad (which is rarely)
Beta Was this translation helpful? Give feedback.
All reactions