From ebb1933d9a6084a3fab44f8388a2c92147015327 Mon Sep 17 00:00:00 2001 From: Michael Hoffmann Date: Wed, 18 Aug 2021 15:07:18 +0200 Subject: [PATCH] add linting action --- .github/workflows/lint.yml | 27 +++++++++++++++++++++ charts/aiven-kubernetes-operator/Chart.yaml | 3 +++ 2 files changed, 30 insertions(+) create mode 100644 .github/workflows/lint.yml diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml new file mode 100644 index 0000000..eeba8e9 --- /dev/null +++ b/.github/workflows/lint.yml @@ -0,0 +1,27 @@ +name: Lint Charts + +on: pull_request + +jobs: + lint: + runs-on: ubuntu-latest + steps: + - name: Checkout + uses: actions/checkout@v2 + with: + fetch-depth: 0 + + - name: Set up Helm + uses: azure/setup-helm@v1 + with: + version: v3.4.0 + + - uses: actions/setup-python@v2 + with: + python-version: 3.7 + + - name: Set up chart-testing + uses: helm/chart-testing-action@v2.1.0 + + - name: Run chart-testing (lint) + run: ct lint --all diff --git a/charts/aiven-kubernetes-operator/Chart.yaml b/charts/aiven-kubernetes-operator/Chart.yaml index 289e423..1f02a45 100644 --- a/charts/aiven-kubernetes-operator/Chart.yaml +++ b/charts/aiven-kubernetes-operator/Chart.yaml @@ -4,3 +4,6 @@ description: A Helm chart to deploy the aiven k8s operator type: application version: 0.1.0-alpha.1 appVersion: 0.0.1 +maintainers: +- name: mhoffm-aiven + url: https://www.aiven.io