From 561c08d5452685335e5d824672fa446c36304368 Mon Sep 17 00:00:00 2001
From: Rhys Arkins <rhys@arkins.net>
Date: Tue, 7 Jun 2022 09:12:23 +0200
Subject: [PATCH] fix(github): filter vulnerability states only for >=3.5
 (#15920)

Closes #14431
---
 lib/modules/platform/github/index.ts | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/modules/platform/github/index.ts b/lib/modules/platform/github/index.ts
index 80b2911ee1..31a92292d3 100644
--- a/lib/modules/platform/github/index.ts
+++ b/lib/modules/platform/github/index.ts
@@ -1564,7 +1564,7 @@ export async function getVulnerabilityAlerts(): Promise<VulnerabilityAlert[]> {
     // semver not null safe, accepts null and undefined
     // eslint-disable-next-line @typescript-eslint/no-unnecessary-type-assertion
     platformConfig.gheVersion!,
-    '~3.0.25 || ~3.1.17 || ~3.2.9 || >=3.3.4'
+    '>=3.5'
   );
   const filterByState = !platformConfig.isGhe || gheSupportsStateFilter;
   const query = vulnerabilityAlertsQuery(filterByState);
-- 
GitLab