Design and specify Unified AI Supervisory Control Plane (SCP) and G-S… #258
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: Governance Artifact Validation | |
| on: | |
| pull_request: | |
| push: | |
| branches: | |
| - main | |
| - master | |
| jobs: | |
| validate-governance-artifacts: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 | |
| - name: Setup Python | |
| uses: actions/setup-python@0b93645e9fea7318ecaed2b359559ac225c90a2b | |
| with: | |
| python-version: '3.12' | |
| - name: Install dependencies | |
| run: python -m pip install -r requirements-governance.txt pytest | |
| - name: Validate BBOM/ARRE artifacts | |
| run: python tools/validate_ai_governance_artifacts.py --report-file .reports/governance-validation.json | |
| - name: Run validator tests | |
| run: pytest -q tests/test_governance_validator.py | |
| - name: Upload governance validation report | |
| if: always() | |
| uses: actions/upload-artifact@65c4c4a1ddee5b72f698fdd19549f0f0fb45cf08 | |
| with: | |
| name: governance-validation-report | |
| path: .reports/governance-validation.json | |
| if-no-files-found: ignore |