Function repos_slash_test_push_webhook

Source
pub async fn repos_slash_test_push_webhook(
    configuration: &Configuration,
    owner: &str,
    repo: &str,
    hook_id: i32,
) -> Result<(), Error<ReposSlashTestPushWebhookError>>
Expand description

This will trigger the hook with the latest push to the current repository if the hook is subscribed to push events. If the hook is not subscribed to push events, the server will respond with 204 but no test POST will be generated. Note: Previously /repos/:owner/:repo/hooks/:hook_id/test