From c1765618c613fb55b45e95d146c339a1fd8b42bd Mon Sep 17 00:00:00 2001 From: Filipe Spencer Lopes Date: Tue, 9 Mar 2021 14:16:42 +0100 Subject: [PATCH] Adding GitHub action for linting --- .github/workflows/yamllinting.yml | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 .github/workflows/yamllinting.yml diff --git a/.github/workflows/yamllinting.yml b/.github/workflows/yamllinting.yml new file mode 100644 index 0000000..3286da3 --- /dev/null +++ b/.github/workflows/yamllinting.yml @@ -0,0 +1,21 @@ +name: Yaml Lint +on: [push] +jobs: + lintDataFiles: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v1 + - name: yaml-lint + uses: ibiqlik/action-yamllint@v3 + with: + file_or_dir: yml/*.yaml + config_file: .yamllint.yml + lintTemplate: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v1 + - name: yaml-lint + uses: ibiqlik/action-yamllint@v3 + with: + file_or_dir: YML-Template.yaml + config_file: .yamllint.yml \ No newline at end of file