Skip to content

Commit cbf19d8

Browse files
committed
ci: Run yamlllint
Signed-off-by: Manuel Hutter <[email protected]>
1 parent 41edc78 commit cbf19d8

File tree

3 files changed

+21
-1
lines changed

3 files changed

+21
-1
lines changed

.github/workflows/ci.yml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
---
2+
name: CI
3+
4+
# yamllint disable-line rule:truthy
5+
on:
6+
pull_request: {}
7+
push:
8+
branches:
9+
- main
10+
11+
jobs:
12+
yamllint:
13+
runs-on: ubuntu-latest
14+
steps:
15+
- uses: actions/checkout@v3
16+
- run: yamllint .

.yamllint.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
---
2+
extends: default
3+
rules:
4+
line-length: disable

defaults/main.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,4 +26,4 @@ service_masked: false
2626
service_state: started
2727
service_restart: true
2828
template_env_path: "env.j2"
29-
template_unit_path: "unit.j2"
29+
template_unit_path: "unit.j2"

0 commit comments

Comments
 (0)