From 398965c395d07bb6e94acafa588661d883ffbd9a Mon Sep 17 00:00:00 2001
From: Peter Leitzen <pleitzen@gitlab.com>
Date: Wed, 14 Dec 2022 17:20:11 +0100
Subject: [PATCH] Let lefthook run yamllint also for *.ya?ml.*

This will match files like config/gitlab.yml.example.
---
 lefthook.yml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lefthook.yml b/lefthook.yml
index 359c633e0f1e..3432b626e69e 100644
--- a/lefthook.yml
+++ b/lefthook.yml
@@ -28,7 +28,7 @@ pre-push:
     yamllint:
       tags: backend style
       files: git diff --name-only --diff-filter=d $(git merge-base origin/master HEAD)..HEAD
-      glob: '*.{yml,yaml}'
+      glob: '*.{yml,yaml}{,.*}'
       run: scripts/lint-yaml.sh {files}
     stylelint:
       tags: stylesheet css style
-- 
GitLab