Skip to content

yamllint

yamllint #1223

---
name: Validate Blueprint YAML
# yamllint disable-line rule:truthy
on:
push:
paths:
- "nspanel_blueprint.yaml"
pull_request:
paths:
- "nspanel_blueprint.yaml"
workflow_dispatch:
jobs:
code_scan:
name: Validate Blueprint YAML
runs-on: "ubuntu-latest"
steps:
- uses: actions/checkout@main
with:
fetch-depth: '0'
- name: Validate nspanel_blueprint.yaml
run: yamllint -c "./.rules/yamllint.yml" nspanel_blueprint.yaml
...