Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

#3035: Add yamllint GHA #3124

Merged
merged 8 commits into from
Apr 22, 2024
Prev Previous commit
Next Next commit
feat(#3035): add .yamllint.yml config
slry committed Apr 21, 2024

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
commit a8157fe2165e2b63445e42f8b6f35fd364e977ec
3 changes: 3 additions & 0 deletions .github/workflows/yamllint.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
---

name: yamllint
'on':
push:
@@ -13,3 +14,5 @@ jobs:
steps:
- uses: actions/checkout@v4
- uses: ibiqlik/action-yamllint@v3
with:
config-file: .yamllint.yml
12 changes: 12 additions & 0 deletions .yamllint.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
---

extends: default

rules:
line-length: disable
brackets:
min-spaces-inside: 1
max-spaces-inside: 2
truthy:
level: warning
allowed-values: [ 'on', 'true', 'false', 'yes', 'no' ]