From ed5193a76c25f08f05bd3752d1fa54d2eea85863 Mon Sep 17 00:00:00 2001 From: Okean <76069640+Tinyblargon@users.noreply.github.com> Date: Wed, 20 Dec 2023 19:59:31 +0100 Subject: [PATCH] Add optional `.ansible` to regex Added optional `.ansible` to regex, and merged all regex's into one. --- lib/modules/manager/ansible-galaxy/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/modules/manager/ansible-galaxy/index.ts b/lib/modules/manager/ansible-galaxy/index.ts index 5b468378b37828..85e0d274ca0cd7 100644 --- a/lib/modules/manager/ansible-galaxy/index.ts +++ b/lib/modules/manager/ansible-galaxy/index.ts @@ -8,7 +8,7 @@ export { extractPackageFile } from './extract'; export const categories: Category[] = ['ansible', 'iac']; export const defaultConfig = { - fileMatch: ['(^|/)requirements\\.ya?ml$', '(^|/)galaxy\\.ya?ml$'], + fileMatch: ['(^|/)(galaxy|requirements)(\\.ansible)?\\.ya?ml$'], }; export const supportedDatasources = [