Interview Prep/Git & GitHub/GitHub Actions, environments and releases in production

How do you manage secrets and variables across org, repo and environment levels?

IntermediateProductionGitHub Actions, environments and releases in production
Answer

Org secrets for shared items scoped to selected repos, repo secrets for repo-specific values, and environment secrets for stage-specific values that only unlock after protection rules pass. Non-secret config goes in variables (vars.*). Prefer OIDC over any of them for cloud access.

All Git & GitHub questions Roadmap: Git & GitHub

More on GitHub Actions, environments and releases in production