From da0a7e1037b43f5c7405e61bc53a56727048b0be Mon Sep 17 00:00:00 2001 From: "Patrick J. Roddy" Date: Wed, 15 Nov 2023 16:44:39 +0000 Subject: [PATCH] fix(github-actions): allow subdirectories by default (#25813) --- lib/modules/manager/github-actions/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/modules/manager/github-actions/index.ts b/lib/modules/manager/github-actions/index.ts index cc09f700c2d8df..2da8530de6f75e 100644 --- a/lib/modules/manager/github-actions/index.ts +++ b/lib/modules/manager/github-actions/index.ts @@ -5,7 +5,7 @@ export { extractPackageFile } from './extract'; export const defaultConfig = { fileMatch: [ - '^(workflow-templates|\\.(?:github|gitea|forgejo)/workflows)/[^/]+\\.ya?ml$', + '(^|/)(workflow-templates|\\.(?:github|gitea|forgejo)/workflows)/[^/]+\\.ya?ml$', '(^|/)action\\.ya?ml$', ], };