mirror of
https://github.com/rocky-linux/infrastructure
synced 2024-12-27 21:20:55 +00:00
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:
commit
2c8a3e9481
2 changed files with 28 additions and 0 deletions
21
.github/workflows/yamllint.yml
vendored
Normal file
21
.github/workflows/yamllint.yml
vendored
Normal 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
7
.yamllint
Normal file
|
@ -0,0 +1,7 @@
|
|||
---
|
||||
extends: default
|
||||
|
||||
rules:
|
||||
line-length:
|
||||
max: 160
|
||||
level: warning
|
Loading…
Reference in a new issue