-
-
Notifications
You must be signed in to change notification settings - Fork 355
38 lines (36 loc) · 1.01 KB
/
yaml-lint-on-push.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
---
name: Yaml Lint
on: [push] # yamllint disable-line rule:truthy
jobs:
lintAllTheThings:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: yaml-lint
uses: ibiqlik/action-yamllint@v3
with:
no_warnings: true
config_data: |
extends: default
rules:
colons:
max-spaces-before: -1
max-spaces-after: -1
new-lines:
level: warning
commas:
max-spaces-before: -1
min-spaces-after: -1
max-spaces-after: -1
new-line-at-end-of-file:
level: warning
trailing-spaces:
level: warning
document-start:
present: false
line-length:
max: 800
comments:
require-starting-space: false
ignore-shebangs: true
min-spaces-from-content: 2