Skip to content

Commit e321888

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 e321888

File tree

13 files changed

+36
-10
lines changed

13 files changed

+36
-10
lines changed

.github/component-owners.yml

Lines changed: 1 addition & 0 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

.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)