Function actions_slash_create_org_variable

Source
pub async fn actions_slash_create_org_variable(
    configuration: &Configuration,
    org: &str,
    actions_create_org_variable_request: ActionsCreateOrgVariableRequest,
) -> Result<Value, Error<ActionsSlashCreateOrgVariableError>>
Expand description

Creates an organization 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 theadmin:org scope to use this endpoint. If the repository is private, OAuth tokens and personal access tokens (classic) need the repo scope to use this endpoint.