ci: add YAML schema and validation checks for config and templates

This commit is contained in:
eigger committed 2026-08-27 20:18:14 +09:00
1 parent 25088f660e
commit 9658db3bcc
2 files changed
+473

No files matched your search

+27
View File
@@ -0,0 +1,27 @@
name: Validate YAML Configs
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
validate:
name: Validate YAML Schema
runs-on: ubuntu-latest
steps:
- name: Checkout Repository
uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: '3.11'
- name: Install Dependencies
run: pip install pyyaml
- name: Validate config.yaml and templates.yaml
run: python scripts/validate.py