Archived
ci: add YAML schema and validation checks for config and templates
This commit is contained in:
1 parent
25088f660e
commit
9658db3bcc
2 files changed
+473
No files matched your search
@@ -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
|
||||
Reference in new issue
Block a user