From fc25dfb66ec9ef12e5810bcaf542a8a4d0983c79 Mon Sep 17 00:00:00 2001 From: "alexey.lysiuk" Date: Sat, 14 Aug 2021 13:03:02 +0300 Subject: [PATCH] ci: lint .yaml files --- .github/workflows/build.yml | 2 +- .github/workflows/lint.yml | 4 ++-- .github/workflows/test.yml | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index e5d8c9a5..af19e97d 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -4,7 +4,7 @@ on: [push, pull_request] jobs: build: - if: "!contains(github.event.head_commit.message, '[skip build]')" + if: "${{ !contains(github.event.head_commit.message, '[skip build]') }}" name: ${{ matrix.config.name }} runs-on: "macos-10.15" strategy: diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 6775908b..19a83f00 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -4,7 +4,7 @@ on: [push, pull_request] jobs: lint: - if: "!contains(github.event.head_commit.message, '[skip lint]')" + if: "${{ !contains(github.event.head_commit.message, '[skip lint]') }}" runs-on: ubuntu-20.04 steps: - name: Checkout @@ -13,7 +13,7 @@ jobs: - name: Super-Linter uses: docker://ghcr.io/github/super-linter:slim-v4 env: - FILTER_REGEX_INCLUDE: .*(\.py|\.md)$ + FILTER_REGEX_INCLUDE: .*(\.py|\.md|\.yml)$ VALIDATE_PYTHON_BLACK: false - name: Bandit diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 03bf9103..7f6483e7 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -4,7 +4,7 @@ on: [push, pull_request] jobs: test: - if: "!contains(github.event.head_commit.message, '[skip test]')" + if: "${{ !contains(github.event.head_commit.message, '[skip test]') }}" runs-on: "macos-10.15" steps: - uses: actions/checkout@v1