mirror of
https://github.com/esphome/esphome.git
synced 2024-11-10 01:07:45 +01:00
26 lines
475 B
YAML
26 lines
475 B
YAML
---
|
|
name: YAML lint
|
|
|
|
# yamllint disable-line rule:truthy
|
|
on:
|
|
push:
|
|
branches: [dev, beta, release]
|
|
paths:
|
|
- "**.yaml"
|
|
- "**.yml"
|
|
pull_request:
|
|
paths:
|
|
- "**.yaml"
|
|
- "**.yml"
|
|
|
|
jobs:
|
|
yamllint:
|
|
name: yamllint
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Check out code from GitHub
|
|
uses: actions/checkout@v4.1.1
|
|
- name: Run yamllint
|
|
uses: frenck/action-yamllint@v1.5.0
|
|
with:
|
|
strict: true
|