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 .