Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
37 changes: 37 additions & 0 deletions .github/workflows/governance-artifacts.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
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@v4
Comment thread
OneFineStarstuff marked this conversation as resolved.
Comment thread
OneFineStarstuff marked this conversation as resolved.

- name: Setup Python
uses: actions/setup-python@v5
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
Comment thread
OneFineStarstuff marked this conversation as resolved.

- name: Run validator tests
run: pytest -q tests/test_governance_validator.py

- name: Upload governance validation report
if: always()
uses: actions/upload-artifact@v4
with:
name: governance-validation-report
path: .reports/governance-validation.json
if-no-files-found: ignore
Loading
Loading