pub async fn actions_slash_enable_workflow(
configuration: &Configuration,
owner: &str,
repo: &str,
workflow_id: ActionsGetWorkflowWorkflowIdParameter,
) -> Result<(), Error<ActionsSlashEnableWorkflowError>>
Expand description
Enables a workflow and sets the state
of the workflow to active
. You can replace workflow_id
with the workflow file name. For example, you could use main.yaml
. OAuth tokens and personal access tokens (classic) need the repo
scope to use this endpoint.