From 9af82741ed2a10e22b052e08e1d11014cc2090b4 Mon Sep 17 00:00:00 2001 From: Trevor Whitney Date: Mon, 18 Nov 2024 17:05:02 -0700 Subject: [PATCH] ci: if at first you don't succeed --- .github/workflows/helm-ci.yml | 29 +++-------------------------- 1 file changed, 3 insertions(+), 26 deletions(-) diff --git a/.github/workflows/helm-ci.yml b/.github/workflows/helm-ci.yml index 3e9b487edc485..91bdd5d0235ad 100644 --- a/.github/workflows/helm-ci.yml +++ b/.github/workflows/helm-ci.yml @@ -11,32 +11,9 @@ env: jobs: call-lint: - name: Lint Helm Chart - runs-on: ubuntu-latest - steps: - - name: Checkout Code - uses: actions/checkout@v4 - with: - fetch-depth: 0 - - - name: Check Docs - run: | - docker run --rm --volume "$(pwd):/helm-docs" -u "$(id -u)" jnorwood/helm-docs:v1.11.0 - if ! git diff --exit-code; then - echo "Documentation not up to date. Please run helm-docs and commit changes!" >&2 - exit 1 - fi - - - name: Lint Yaml - run: make helm-lint - - - name: Lint Code Base - uses: bridgecrewio/checkov-action@master - with: - directory: production/helm/loki - framework: helm - soft_fail: false - output_format: github_failed_only + uses: grafana/helm-charts/.github/workflows/linter.yml@main + with: + filter_regex_include: .*production/helm/loki/.* call-test: name: Test Helm Chart runs-on: ubuntu-latest