From 961a7776e09aafd97bad0f4cde333c9bd69ed7dc Mon Sep 17 00:00:00 2001 From: Michael Kriese <michael.kriese@visualon.de> Date: Tue, 25 Oct 2022 11:23:19 +0200 Subject: [PATCH] fix(datasource/pod): wrong regex (#18533) --- lib/modules/datasource/pod/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/modules/datasource/pod/index.ts b/lib/modules/datasource/pod/index.ts index 33998c1c18..6c70a74d0a 100644 --- a/lib/modules/datasource/pod/index.ts +++ b/lib/modules/datasource/pod/index.ts @@ -28,7 +28,7 @@ function shardParts(packageName: string): string[] { } const githubRegex = regEx( - /(?<hostURL>(^https:\/\/[a-zA-z0-9-.]+))\/(?<account>[^/]+)\/(?<repo>[^/]+?)(\.git|\/.*)?$/ + /(?<hostURL>^https:\/\/[a-zA-Z0-9-.]+)\/(?<account>[^/]+)\/(?<repo>[^/]+?)(?:\.git|\/.*)?$/ ); function releasesGithubUrl( -- GitLab