ci: lint .yaml files

This commit is contained in:
alexey.lysiuk 2021-08-14 13:03:02 +03:00
parent d3b41a69af
commit fc25dfb66e
3 changed files with 4 additions and 4 deletions

View file

@ -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:

View file

@ -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

View file

@ -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