Function actions_slash_create_repo_variable

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

Creates a repository 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.