Archived
28 lines
533 B
YAML
28 lines
533 B
YAML
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
|