From a8ac5aa8723739a8c7099802a14a0f888fb5f6a2 Mon Sep 17 00:00:00 2001 From: surtur Date: Sat, 2 Jul 2022 17:18:27 +0200 Subject: [PATCH] pre-commit: check compose file --- .pre-commit-config.yaml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 27d835e..f879028 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -6,3 +6,10 @@ repos: - id: check-toml - id: check-yaml exclude: .drone.yml # drone's yaml is somewhat strange sometimes + - repo: local + hooks: + - id: check-compose-file + name: check compose file + language: system + entry: docker-compose -f docker-compose.yml config + pass_filenames: false