From 429aacf73cbee25365e093cc1078508d16476f64 Mon Sep 17 00:00:00 2001 From: Shimon Tolts Date: Sun, 27 Nov 2022 09:57:47 +0200 Subject: [PATCH] adding linting for index.yaml (#57) --- .github/workflows/linter.yaml | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 .github/workflows/linter.yaml diff --git a/.github/workflows/linter.yaml b/.github/workflows/linter.yaml new file mode 100644 index 00000000..869d5e73 --- /dev/null +++ b/.github/workflows/linter.yaml @@ -0,0 +1,12 @@ +name: Yaml Lint +on: [push] +jobs: + lintAllTheThings: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + - name: yaml-lint + uses: ibiqlik/action-yamllint@v3 + with: + file_or_dir: index.yaml + config_data: "{extends: default, rules: {new-line-at-end-of-file: disable, document-start: disable, line-length: {max: 200}, trailing-spaces: disable}}"