From 135858d8151828e5c6124d4129b1e1cab9ef5f80 Mon Sep 17 00:00:00 2001
From: IKEDA Sho <suicaicoca@gmail.com>
Date: Sat, 27 May 2023 12:43:46 +0900
Subject: [PATCH] fix(datasource/cpan): add `module.authorized` condition for
 querying releases (#22445)

---
 lib/modules/datasource/cpan/index.ts | 1 +
 1 file changed, 1 insertion(+)

diff --git a/lib/modules/datasource/cpan/index.ts b/lib/modules/datasource/cpan/index.ts
index 6fb3f934de..d020eebb5b 100644
--- a/lib/modules/datasource/cpan/index.ts
+++ b/lib/modules/datasource/cpan/index.ts
@@ -43,6 +43,7 @@ export class CpanDatasource extends Datasource {
             filter: {
               and: [
                 { term: { 'module.name': packageName } },
+                { term: { 'module.authorized': true } },
                 { exists: { field: 'module.associated_pod' } },
               ],
             },
-- 
GitLab