From 7a1ea7e96d1a24578ec35eedd4256a7d80c3fef8 Mon Sep 17 00:00:00 2001 From: Marc Garcia Date: Fri, 16 Feb 2024 15:26:23 +0100 Subject: [PATCH] Increasing the number of CI jobs that are fetched from github (from 30 to 100) --- Cargo.lock | 2 +- src/github.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index d90a407..c77de07 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -579,7 +579,7 @@ dependencies = [ [[package]] name = "doc-previewer" -version = "0.3.1" +version = "0.3.2" dependencies = [ "actix-web", "awc", diff --git a/src/github.rs b/src/github.rs index 678de8f..fb854a5 100644 --- a/src/github.rs +++ b/src/github.rs @@ -63,7 +63,7 @@ async fn run_id_from_commit(client: &Client, commit_reference: &str, job_name: &str) -> Result { - let url = format!("{base_api_url}commits/{commit_reference}/check-runs"); + let url = format!("{base_api_url}commits/{commit_reference}/check-runs?per_page=100"); let json_obj = fetch_json(client, &url).await?; match json_obj["check_runs"]