From 5ed0959cc42835d5552da1c329b1eb81ee595a8a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Claes=20Hallstr=C3=B6m?= Date: Sat, 8 Apr 2023 23:30:53 +0200 Subject: [PATCH] Update regex to also detect compose.yaml files According to the new compose specification, compose.yaml is the preferred file name. --- .pre-commit-hooks.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.pre-commit-hooks.yaml b/.pre-commit-hooks.yaml index 1665105..347a310 100644 --- a/.pre-commit-hooks.yaml +++ b/.pre-commit-hooks.yaml @@ -4,7 +4,7 @@ description: Checks that docker-compose files are valid language: script entry: compose-check.sh - files: docker-compose.y[a]{0,1}ml$ + files: (docker-)?compose.y[a]{0,1}ml$ - id: hadolint name: Lint Dockerfiles