Back to the "Repos API" | Back to the navigation
https://docs.github.com/en/rest/reference/actions#list-repository-workflows
$workflows = $client->api('repo')->workflows()->all('KnpLabs', 'php-github-api');
https://docs.github.com/en/rest/reference/actions#get-a-workflow
$workflow = $client->api('repo')->workflows()->show('KnpLabs', 'php-github-api', $workflow);
https://docs.github.com/en/rest/reference/actions#get-workflow-usage
$usage = $client->api('repo')->workflows()->usage('KnpLabs', 'php-github-api', $workflow);
https://docs.github.com/en/rest/reference/actions#create-a-workflow-dispatch-event
$client->api('repo')->workflows()->dispatches('KnpLabs', 'php-github-api', $workflow, 'main');