POST /repositories/{repository_id}/environments/{environment_name}/variables
repos
actions
Create an environment variable that you can reference in a GitHub Actions workflow. You must authenticate using an access token with the repo scope to use this endpoint. GitHub Apps must have the environment:write repository permission to use this endpoint. Create an environment variable