Skip to content

Commit 8ee6c35

Browse files
committed
Add YAML linting from main repo
1 parent bb27725 commit 8ee6c35

File tree

2 files changed

+25
-0
lines changed

2 files changed

+25
-0
lines changed

Diff for: .github/workflows/lint.yml

+16
Original file line numberDiff line numberDiff line change
@@ -50,3 +50,19 @@ jobs:
5050

5151
- name: ansible-lint
5252
uses: reviewdog/action-ansiblelint@281c57acb22e30c7db4fc84bbe30d86dc5b24234 # v1.16.0
53+
54+
yamllint:
55+
name: YAML Lint
56+
runs-on: ubuntu-latest
57+
permissions:
58+
checks: write
59+
steps:
60+
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
61+
with:
62+
persist-credentials: false
63+
64+
- name: Set up Python 3
65+
uses: actions/setup-python@0b93645e9fea7318ecaed2b359559ac225c90a2b # v5.3.0
66+
67+
- name: yamllint
68+
uses: reviewdog/action-yamllint@1dca3ad811867be18fbe293a9818d715a6c2cd46 # v1.20.0

Diff for: .yamllint

+9
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
---
2+
extends: default
3+
4+
rules:
5+
line-length:
6+
max: 120
7+
allow-non-breakable-words: true
8+
truthy:
9+
check-keys: false

0 commit comments

Comments
 (0)