Skip to content

Make the regulated-AI template executable, complete, and reviewable #14

Make the regulated-AI template executable, complete, and reviewable

Make the regulated-AI template executable, complete, and reviewable #14

name: Validate Release Configuration
on:
push:
paths:
- 'release/release-checklist.yaml'
- 'examples/sample-release-checklist.yaml'
- 'tools/validate_release_config.py'
- '.github/workflows/validate-release-config.yml'
pull_request:
paths:
- 'release/release-checklist.yaml'
- 'examples/sample-release-checklist.yaml'
- 'tools/validate_release_config.py'
- '.github/workflows/validate-release-config.yml'
permissions:
contents: read
jobs:
validate:
runs-on: ubuntu-latest
name: Validate release checklist YAML
steps:
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: '3.11'
- name: Install dependencies
run: python -m pip install --upgrade pip pyyaml
- name: Validate starter template structure
run: |
python tools/validate_release_config.py \
release/release-checklist.yaml \
--mode template
- name: Validate populated sample minimum gates
run: |
python tools/validate_release_config.py \
examples/sample-release-checklist.yaml \
--mode ready