From 2cbb2015fe0e9af6fb3411d0abcd2faed36bc8c2 Mon Sep 17 00:00:00 2001 From: Denis Tingajkin Date: Thu, 10 Dec 2020 22:38:58 +0700 Subject: [PATCH] fix yamllint issues Signed-off-by: Denis Tingajkin --- .github/workflows/ci.yaml | 12 ++++++------ yamllint.yml => .yamllint.yml | 3 +-- 2 files changed, 7 insertions(+), 8 deletions(-) rename yamllint.yml => .yamllint.yml (78%) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 99f2daf106b2..623c764ae8b7 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -14,12 +14,12 @@ jobs: steps: - name: Check out code into the Go module directory uses: actions/checkout@v2 - - name: Setup Python - uses: actions/setup-python@v1 - - name: Install yamllint - run: pip install --user yamllint - - name: Run yamllint - run: ~/.local/bin/yamllint -c .yamllint.yml --strict . + - name: yaml-lint + uses: ibiqlik/action-yamllint@v1 + with: + config_file: .yamllint.yml + strict: true + automerge: name: automerge runs-on: ubuntu-latest diff --git a/yamllint.yml b/.yamllint.yml similarity index 78% rename from yamllint.yml rename to .yamllint.yml index d4a3b49db7f9..b2e6be5df558 100644 --- a/yamllint.yml +++ b/.yamllint.yml @@ -9,7 +9,6 @@ rules: truthy: disable # 80 chars should be enough, but don't fail if a line is longer line-length: disable - comments-indentation: - ignore: .circleci/config.yml + indentation: disable ignore: scripts/aws/aws-k8s-cni.yaml