Add helm chart linting to CI workflow (#17606)

This commit is contained in:
Ian Martin 2023-07-08 16:41:12 -06:00 committed by GitHub
parent 69e131ee69
commit 90c2129f44
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

31
.github/workflows/helm-lint.yml vendored Normal file
View file

@ -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 .