Skip to content

Commit

Permalink
Disable truthy yamllint rule (esphome#6442)
Browse files Browse the repository at this point in the history
  • Loading branch information
jesserockz authored Mar 27, 2024
1 parent 6b7f9b1 commit 0ff543f
Show file tree
Hide file tree
Showing 11 changed files with 3 additions and 10 deletions.
1 change: 0 additions & 1 deletion .github/workflows/ci-api-proto.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
name: API Proto CI

# yamllint disable-line rule:truthy
on:
pull_request:
paths:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ci-docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
name: CI for docker images

# Only run when docker paths change
# yamllint disable-line rule:truthy

on:
push:
branches: [dev, beta, release]
Expand Down
1 change: 0 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
---
name: CI

# yamllint disable-line rule:truthy
on:
push:
branches: [dev, beta, release]
Expand Down
1 change: 0 additions & 1 deletion .github/workflows/lock.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
---
name: Lock

# yamllint disable-line rule:truthy
on:
schedule:
- cron: "30 0 * * *"
Expand Down
1 change: 0 additions & 1 deletion .github/workflows/needs-docs.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
name: Needs Docs

# yamllint disable-line rule:truthy
on:
pull_request:
types: [labeled, unlabeled]
Expand Down
1 change: 0 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
---
name: Publish Release

# yamllint disable-line rule:truthy
on:
workflow_dispatch:
release:
Expand Down
1 change: 0 additions & 1 deletion .github/workflows/stale.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
---
name: Stale

# yamllint disable-line rule:truthy
on:
schedule:
- cron: "30 0 * * *"
Expand Down
1 change: 0 additions & 1 deletion .github/workflows/sync-device-classes.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
---
name: Synchronise Device Classes from Home Assistant

# yamllint disable-line rule:truthy
on:
workflow_dispatch:
schedule:
Expand Down
1 change: 0 additions & 1 deletion .github/workflows/yaml-lint.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
---
name: YAML lint

# yamllint disable-line rule:truthy
on:
push:
branches: [dev, beta, release]
Expand Down
1 change: 1 addition & 0 deletions .yamllint
Original file line number Diff line number Diff line change
Expand Up @@ -16,3 +16,4 @@ rules:
indent-sequences: true
check-multi-line-strings: false
line-length: disable
truthy: disable
2 changes: 1 addition & 1 deletion tests/components/lightwaverf/test.esp8266.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,6 @@ button:
id: light_off_ceiling_sofa
on_press:
lightwaverf.send_raw:
code: [0x04, 0x00, 0x00, 0x00, 0x0f, 0x03, 0x0d, 0x09, 0x08, 0x08]
code: [0x04, 0x00, 0x00, 0x00, 0x0f, 0x03, 0x0d, 0x09, 0x08, 0x08]
name: "Sofa"
repeat: 1

0 comments on commit 0ff543f

Please sign in to comment.