Make the regulated-AI template executable, complete, and reviewable #14
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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 |