mirror of
https://github.com/randybb/esphome-configs.git
synced 2026-10-14 08:35:12 +02:00
Fix yamllint errors in POW configs, update CI and lint config
- Fix UART list indentation (yamllint error) - Remove trailing spaces in display lambda - Add missing newline at end of file - Add ON/OFF to yamllint truthy allowed values - Fix invalid comments rule option in .yamllint.yml - Lint only changed files in CI (avoids blocking PRs with pre-existing issues) Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
1 parent
d4967c6411
commit
b18ce4a2da
4 files changed
+23
-16
No files matched your search
@@ -11,10 +11,18 @@ jobs:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
|
||||
- name: Get changed YAML files
|
||||
id: changed
|
||||
uses: tj-actions/changed-files@v46
|
||||
with:
|
||||
files: "**/*.yaml"
|
||||
|
||||
- uses: ibiqlik/action-yamllint@v3
|
||||
if: steps.changed.outputs.any_changed == 'true'
|
||||
with:
|
||||
config_file: .yamllint.yml
|
||||
file_or_dir: "*.yaml common/**/*.yaml"
|
||||
file_or_dir: ${{ steps.changed.outputs.all_changed_files }}
|
||||
|
||||
validate:
|
||||
name: ESPHome config validation
|
||||
|
||||
Reference in new issue
Block a user