From ca80cc865ea9fdb2fec7ecbaaf7f69a176fe03de Mon Sep 17 00:00:00 2001 From: Nick Volynkin Date: Mon, 27 Jun 2022 13:06:46 +0700 Subject: [PATCH] Add a YAML linter --- .github/workflows/yaml-lint.yaml | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 .github/workflows/yaml-lint.yaml diff --git a/.github/workflows/yaml-lint.yaml b/.github/workflows/yaml-lint.yaml new file mode 100644 index 0000000..3e63359 --- /dev/null +++ b/.github/workflows/yaml-lint.yaml @@ -0,0 +1,20 @@ +name: YAML lint + +on: + push: + branches: + - '**' + tags-ignore: + - '**' +jobs: + yamllint: + runs-on: ubuntu-latest + steps: + - name: Checkout + uses: actions/checkout@v2 + + - name: YAML Lint and Annotate + uses: Staffbase/yamllint-action@v1.1.0 + with: + token: ${{ secrets.GITHUB_TOKEN }} + target-path: setup-venv