In GitHub Actions, variables and secrets must be scoped to one or more environments. In this example, we will set up three environments:
PROD
QA
DEV
Navigate to Settings > Environments.
2. Next, go to Secrets and Variables > Actions and create secrets one at a time:
Below is what your GitHub Actions secrets may look like: