From 794fc5c293596ffa680eeb8ed0a31d279de793a9 Mon Sep 17 00:00:00 2001
From: Sergei Zharinov <zharinov@users.noreply.github.com>
Date: Mon, 4 Mar 2024 14:11:36 -0300
Subject: [PATCH] refactor(github): Remove unused GraphQL queries (#27710)

---
 lib/modules/platform/github/graphql.ts | 72 --------------------------
 1 file changed, 72 deletions(-)

diff --git a/lib/modules/platform/github/graphql.ts b/lib/modules/platform/github/graphql.ts
index 8f96b4f4fb..9e5f0155a2 100644
--- a/lib/modules/platform/github/graphql.ts
+++ b/lib/modules/platform/github/graphql.ts
@@ -24,78 +24,6 @@ query($owner: String!, $name: String!) {
 }
 `;
 
-export const closedPrsQuery = `
-query($owner: String!, $name: String!, $count: Int, $cursor: String) {
-  repository(owner: $owner, name: $name) {
-    pullRequests(
-      states: [CLOSED, MERGED],
-      orderBy: {
-        field: UPDATED_AT,
-        direction: DESC
-      },
-      first: $count,
-      after: $cursor
-    ) {
-      pageInfo {
-        endCursor
-        hasNextPage
-      }
-      nodes {
-        number
-        state
-        headRefName
-        title
-        comments(last: 100) {
-          nodes {
-            databaseId
-            body
-          }
-        }
-      }
-    }
-  }
-}
-`;
-
-export const openPrsQuery = `
-query($owner: String!, $name: String!, $count: Int, $cursor: String) {
-  repository(owner: $owner, name: $name) {
-    pullRequests(
-      states: [OPEN],
-      orderBy: {
-        field: UPDATED_AT,
-        direction: DESC
-      },
-      first: $count,
-      after: $cursor
-    ) {
-      pageInfo {
-        endCursor
-        hasNextPage
-      }
-      nodes {
-        number
-        headRefName
-        baseRefName
-        title
-        labels(last: 100) {
-          nodes {
-            name
-          }
-        }
-        assignees {
-          totalCount
-        }
-        reviewRequests {
-          totalCount
-        }
-        body
-      }
-    }
-  }
-}
-`;
-
 export const getIssuesQuery = `
 query(
   $owner: String!,
-- 
GitLab