From 5832dfe416c8af4265ec0bc8164069ffdbe4a508 Mon Sep 17 00:00:00 2001 From: Facu de la Cruz Date: Wed, 21 Oct 2020 01:08:09 -0300 Subject: [PATCH] Enabling YAMLLint GitHub action Adding a GitHub action to Lint Kubernetes YAML files. --- .github/workflows/yamllint.yaml | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 .github/workflows/yamllint.yaml diff --git a/.github/workflows/yamllint.yaml b/.github/workflows/yamllint.yaml new file mode 100644 index 0000000..6d059dd --- /dev/null +++ b/.github/workflows/yamllint.yaml @@ -0,0 +1,16 @@ +name: YAML Lint +on: + push: + branches: [ master ] + pull_request: + branches: [ master ] +jobs: + build: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + - name: YAML Lint + uses: ibiqlik/action-yamllint@v1.0.0 + with: + file_or_dir: ./kubernetes/yaml/ + config_file: ./yamllint