From 90c2129f447277aa061260b5e7e2a7f8be4395f7 Mon Sep 17 00:00:00 2001 From: Ian Martin Date: Sat, 8 Jul 2023 16:41:12 -0600 Subject: [PATCH] Add helm chart linting to CI workflow (#17606) --- .github/workflows/helm-lint.yml | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 .github/workflows/helm-lint.yml diff --git a/.github/workflows/helm-lint.yml b/.github/workflows/helm-lint.yml new file mode 100644 index 000000000..d0895835a --- /dev/null +++ b/.github/workflows/helm-lint.yml @@ -0,0 +1,31 @@ +name: Helm Chart Linting +description: Installs helm tooling and validates helm charts + +on: + push: + branches: + - master + +# This ensures that previous jobs for the PR are canceled when the PR is +# updated. +concurrency: + group: ${{ github.workflow }}-${{ github.head_ref }} + cancel-in-progress: true + +permissions: + contents: read + +jobs: + release: + runs-on: ubuntu-latest + steps: + - name: Checkout + uses: actions/checkout@v3 + + - name: Install Helm + uses: azure/setup-helm@v3 + + - name: Run helm lint + run: | + cd helm/minio + helm lint .