Skip to content

Commit 4fa42e0

Browse files
committed
ci(yamllint): add a linter for our many yaml files
Add a linter to check if there are any invalid modifications to one of our many YAML files now. Signed-off-by: Randolph Sapp <[email protected]>
1 parent 768ff06 commit 4fa42e0

File tree

13 files changed

+39
-13
lines changed

13 files changed

+39
-13
lines changed

.github/component-owners.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
---
2+
# yamllint disable rule:line-length
23
# Each component identified by its path prefix has a list of owners
34
components:
45

@@ -63,14 +64,14 @@ components:
6364
- aniket-l
6465
- praneethbajjuri
6566
- uditkumarti
66-
- gehariprasath
67+
- gehariprasath
6768

6869
source/linux/Foundational_Components:
6970
- devarsht
7071
- praneethbajjuri
7172
- r-vignesh
7273
- uditkumarti
73-
- gehariprasath
74+
- gehariprasath
7475

7576
source/linux/Foundational_Components/IPC:
7677
- 3V3RYONE
@@ -86,7 +87,7 @@ components:
8687
- praneethbajjuri
8788
- r-vignesh
8889
- uditkumarti
89-
- gehariprasath
90+
- gehariprasath
9091

9192
source/linux/Foundational_Components/Power_Management:
9293
- DhruvaG2000

.github/workflows/build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
name: "build"
33

4-
on:
4+
on: # yamllint disable-line rule:truthy
55
push:
66
branches: [master]
77

.github/workflows/check-files.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
name: "check-files"
33

4-
on:
4+
on: # yamllint disable-line rule:truthy
55
pull_request:
66
branches: [master]
77
paths:

.github/workflows/check_toc_txt.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
name: "check_toc_txt"
33

4-
on:
4+
on: # yamllint disable-line rule:truthy
55
pull_request:
66
branches: [master]
77
paths:

.github/workflows/comment.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
name: "comment"
33

4-
on:
4+
on: # yamllint disable-line rule:truthy
55
workflow_run:
66
workflows:
77
- rstcheck

.github/workflows/commit-check.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
name: Commit Check
3-
on:
3+
on: # yamllint disable-line rule:truthy
44
pull_request:
55
branches: ['master']
66

.github/workflows/component-owners.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
name: "component-owners"
33

4-
on:
4+
on: # yamllint disable-line rule:truthy
55
# It's insecure to use pull_request_target if you intend to check out code
66
# from that PR. This just reads the config file in the pull request base, and
77
# is not an issue currently. We will need to use this to comment on PRs coming

.github/workflows/deploy.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
name: "deploy"
33

4-
on:
4+
on: # yamllint disable-line rule:truthy
55
workflow_run:
66
workflows:
77
- build

.github/workflows/docker.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
name: Docker Workflow
3-
on:
3+
on: # yamllint disable-line rule:truthy
44
push:
55
branches: [master]
66
paths:

.github/workflows/rstcheck.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
name: "rstcheck"
33

4-
on:
4+
on: # yamllint disable-line rule:truthy
55
pull_request:
66
branches: [master]
77
paths:

0 commit comments

Comments
 (0)