Files
NSPanel_HA_Blueprint/.github/workflows/validate_blueprint.yml
Edward Firmo a03e348a90 Lint
2024-01-11 17:23:10 +01:00

25 lines
500 B
YAML

---
name: Validate Blueprint YAML
# yamllint disable-line rule:truthy
on:
push:
paths:
- "nspanel_blueprint.yaml"
pull_request:
paths:
- "nspanel_blueprint.yaml"
#schedule:
# - cron: "0 0 * * *"
workflow_dispatch:
jobs:
code_scan:
name: Validate Blueprint YAML
runs-on: "ubuntu-latest"
steps:
- uses: actions/checkout@v4.1.0
- name: Validate nspanel_blueprint.yaml
run: yamllint -c "./.rules/yamllint.yml" nspanel_blueprint.yaml
...