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: jobs:
build: build:
if: "!contains(github.event.head_commit.message, '[skip build]')" if: "${{ !contains(github.event.head_commit.message, '[skip build]') }}"
name: ${{ matrix.config.name }} name: ${{ matrix.config.name }}
runs-on: "macos-10.15" runs-on: "macos-10.15"
strategy: strategy:

View file

@ -4,7 +4,7 @@ on: [push, pull_request]
jobs: jobs:
lint: lint:
if: "!contains(github.event.head_commit.message, '[skip lint]')" if: "${{ !contains(github.event.head_commit.message, '[skip lint]') }}"
runs-on: ubuntu-20.04 runs-on: ubuntu-20.04
steps: steps:
- name: Checkout - name: Checkout
@ -13,7 +13,7 @@ jobs:
- name: Super-Linter - name: Super-Linter
uses: docker://ghcr.io/github/super-linter:slim-v4 uses: docker://ghcr.io/github/super-linter:slim-v4
env: env:
FILTER_REGEX_INCLUDE: .*(\.py|\.md)$ FILTER_REGEX_INCLUDE: .*(\.py|\.md|\.yml)$
VALIDATE_PYTHON_BLACK: false VALIDATE_PYTHON_BLACK: false
- name: Bandit - name: Bandit

View file

@ -4,7 +4,7 @@ on: [push, pull_request]
jobs: jobs:
test: test:
if: "!contains(github.event.head_commit.message, '[skip test]')" if: "${{ !contains(github.event.head_commit.message, '[skip test]') }}"
runs-on: "macos-10.15" runs-on: "macos-10.15"
steps: steps:
- uses: actions/checkout@v1 - uses: actions/checkout@v1