From e758a32de7e93feb1b01131534f572c92355724b Mon Sep 17 00:00:00 2001 From: Cole Davis Date: Tue, 16 Sep 2025 20:33:16 -0400 Subject: [PATCH] Only fetch first label --- src/github/api/queries/github.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/github/api/queries/github.ts b/src/github/api/queries/github.ts index 65fed0d..51faad0 100644 --- a/src/github/api/queries/github.ts +++ b/src/github/api/queries/github.ts @@ -16,7 +16,7 @@ export const PR_QUERY = ` additions deletions state - labels(first: 10) { + labels(first: 1) { nodes { name } @@ -102,7 +102,7 @@ export const ISSUE_QUERY = ` } createdAt state - labels(first: 10) { + labels(first: 1) { nodes { name }