Skip to content
This repository was archived by the owner on Jun 2, 2025. It is now read-only.

Commit 2ed8d9a

Browse files
sourav-twzhe-zhao
authored andcommitted
<Issue-155> | When there are more than 30 branches in a repo, it is fetching the latest 30 and filtering the runs on those branches. This is causing issues. Detailed issue is raised at #155 | <SouravB>
1 parent 2182a17 commit 2ed8d9a

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

backend/src/main/kotlin/metrik/project/infrastructure/github/feign/GithubFeignClient.kt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,8 @@ interface GithubFeignClient {
5555
@RequestHeader("credential") credential: String,
5656
@PathVariable("owner") owner: String,
5757
@PathVariable("repo") repo: String,
58+
@RequestParam("per_page", required = false) perPage: Int? = 100,
59+
@RequestParam("page", required = false) pageIndex: Int? = 1
5860
): List<BranchResponse>?
5961
}
6062

0 commit comments

Comments
 (0)