Skip to content

Commit 645d962

Browse files
authored
yaml lint enforce no empty values (#7678)
## Summary Closes: #5663 ## Testing N/A Signed-off-by: Connor Tsui <connor.tsui20@gmail.com>
1 parent 89cffea commit 645d962

3 files changed

Lines changed: 6 additions & 5 deletions

File tree

.github/workflows/stale.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ name: Close inactive PRs
22
on:
33
schedule:
44
- cron: "30 1 * * *"
5-
workflow_dispatch:
5+
workflow_dispatch: { }
66

77
jobs:
88
close-issues:

.github/workflows/web.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ concurrency:
77
cancel-in-progress: true
88

99
on:
10-
pull_request:
10+
pull_request: { }
1111
push:
1212
branches: [develop]
1313

.yamllint.yaml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ rules:
2929
document-end: disable
3030
document-start: disable
3131
empty-lines: enable
32-
empty-values: disable
32+
empty-values: enable
3333
float-values: disable
3434
hyphens: enable
3535
indentation: enable
@@ -38,9 +38,10 @@ rules:
3838
line-length: disable
3939
new-line-at-end-of-file: enable
4040
new-lines: enable
41-
octal-values: disable
41+
octal-values: enable
4242
quoted-strings:
4343
quote-type: double
4444
required: false
4545
trailing-spaces: enable
46-
truthy: disable
46+
truthy:
47+
check-keys: false

0 commit comments

Comments
 (0)