From f92523dbb1a041f14e422192ef99d52982e89955 Mon Sep 17 00:00:00 2001 From: Daniel Farrell Date: Wed, 21 Oct 2020 05:04:32 -0400 Subject: [PATCH] Run YAML linting also via GHA YAML linting currently runs on Travis. Convert to a GHA, to align with other repos and prepare for future optimizations. Only run against values.yaml and Chart.yaml files, as is currently the case in the Travis-driven workflow. Signed-off-by: Daniel Farrell --- .github/workflows/linting.yml | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/.github/workflows/linting.yml b/.github/workflows/linting.yml index fb8607f..29ead3d 100644 --- a/.github/workflows/linting.yml +++ b/.github/workflows/linting.yml @@ -43,3 +43,15 @@ jobs: with: files: . config_file: ".markdownlint.yml" + + yaml-lint: + name: YAML + runs-on: ubuntu-latest + steps: + - name: Check out the repository + uses: actions/checkout@v2 + - name: Run yamllint + uses: ibiqlik/action-yamllint@v1 + with: + file_or_dir: submariner/values.yaml submariner-k8s-broker/values.yaml submariner/Chart.yaml submariner-k8s-broker/Chart.yaml + config_file: .yamllint.yml