Skip to content

Commit a682e44

Browse files
committed
Add YAML linter workflow for validating YAML schema on pull requests
1 parent 0a8f102 commit a682e44

1 file changed

Lines changed: 30 additions & 0 deletions

File tree

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
---
2+
name: "Tools - Validate YAML Schema"
3+
4+
"on":
5+
pull_request:
6+
branches:
7+
- "customize"
8+
paths:
9+
- ".yamllint"
10+
- "**.yaml"
11+
- "**.yml"
12+
- "**.yml.example"
13+
14+
permissions:
15+
contents: read
16+
17+
jobs:
18+
validate-yaml:
19+
name: YAML Linter
20+
runs-on: ubuntu-latest
21+
22+
permissions:
23+
contents: read
24+
25+
steps:
26+
- name: Checkout Repository
27+
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
28+
29+
- name: Validate YAML files
30+
run: yamllint .

0 commit comments

Comments
 (0)