We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6dbdfe5 commit e90083fCopy full SHA for e90083f
.github/workflows/yamllint.yml
@@ -0,0 +1,23 @@
1
+---
2
+name: YAML lint
3
+
4
+on: # yamllint disable-line rule:truthy
5
+ push:
6
+ branches: ["main", "develop", "feature/*"]
7
+ pull_request:
8
+ branches: ["main"]
9
10
+jobs:
11
+ lint:
12
+ runs-on: ubuntu-latest
13
+ steps:
14
+ - name: Checkout repository
15
+ uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4
16
17
+ - name: Install yamllint
18
+ run: pip install yamllint
19
20
+ - name: Lint YAML files
21
+ run: >
22
+ yamllint --strict .
23
+ && echo '✔ Your code looks good.'
0 commit comments