From ae860d7d64bf3b95008f765f72df8e015f4fbd5f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jan-Otto=20Kr=C3=B6pke?= Date: Fri, 10 Nov 2023 23:43:11 +0100 Subject: [PATCH] [CI] Introduce interface for additional lint tasks MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Jan-Otto Kröpke --- .github/linters/ct.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/linters/ct.yaml b/.github/linters/ct.yaml index a3db7fe1573..780b694e460 100644 --- a/.github/linters/ct.yaml +++ b/.github/linters/ct.yaml @@ -12,4 +12,5 @@ excluded-charts: # If not running on GCE, will error: "Failed to get GCE config" - prometheus-to-sd additional-commands: + - sh -c "if [ -f '{{ .Path }}/ci/lint.sh' ]; then exec bash '{{ .Path }}/ci/lint.sh'; fi" # - helm unittest --helm3 --strict --file unittests/*.yaml --file 'unittests/**/*.yaml' {{ .Path }}