Function actions_slash_create_environment_variable

Source
pub async fn actions_slash_create_environment_variable(
    configuration: &Configuration,
    owner: &str,
    repo: &str,
    environment_name: &str,
    actions_create_repo_variable_request: ActionsCreateRepoVariableRequest,
) -> Result<Value, Error<ActionsSlashCreateEnvironmentVariableError>>
Expand description

Create an environment variable that you can reference in a GitHub Actions workflow. Authenticated users must have collaborator access to a repository to create, update, or read variables. OAuth tokens and personal access tokens (classic) need the repo scope to use this endpoint.