Merge pull request #13 from danielkubat/ci-yamllint

YAML linter CI - Merging with main as IPA server deployment playbooks are working without error.
This commit is contained in:
Louis Abel 2020-12-11 15:00:28 -07:00 committed by GitHub
commit 2c8a3e9481
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 28 additions and 0 deletions

21
.github/workflows/yamllint.yml vendored Normal file
View File

@ -0,0 +1,21 @@
---
# https://github.com/ibiqlik/action-yamllint
name: YAMLlint
on:
push:
paths:
- '**.yml'
- '**.yaml'
jobs:
yamllint:
runs-on: ubuntu-latest
timeout-minutes: 1
steps:
- name: Git checkout
uses: actions/checkout@v2
- name: yamllint
uses: ibiqlik/action-yamllint@v3

7
.yamllint Normal file
View File

@ -0,0 +1,7 @@
---
extends: default
rules:
line-length:
max: 160
level: warning