From d4daad6ddba94a54cba30c5e8196dc4e95db0bf4 Mon Sep 17 00:00:00 2001 From: Gabriel Augendre Date: Sun, 3 Jan 2021 22:08:28 +0100 Subject: [PATCH] Check gitlab ci file with pre-commit --- .pre-commit-config.yaml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index d9cdf8f..4e07147 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -30,3 +30,10 @@ repos: hooks: - id: black types: [python] + - repo: https://gitlab.com/devopshq/gitlab-ci-linter + rev: v1.0.1 + hooks: + - id: gitlab-ci-linter + args: + - --server + - https://gitlab.com