Skip to content

Add 2026–2035 roadmap & regulatory mapping plus validator, manifest, and test updates #5

Add 2026–2035 roadmap & regulatory mapping plus validator, manifest, and test updates

Add 2026–2035 roadmap & regulatory mapping plus validator, manifest, and test updates #5

name: daily-gsifi-governance-validation
on:
workflow_dispatch:
pull_request:
paths:
- 'DAILY_GSIFI_AGI_ASI_GOVERNANCE_2026_2030.md'
- 'artifacts/daily_governance_report.example.json'
- 'artifacts/daily_governance_report.schema.json'
- 'policies/sentinel_governance.rego'
- 'test_governance_snippets.py'
- 'GOVERNANCE_ARTIFACTS_README.md'
- 'Makefile'
- 'tools/generate_gsifi_governance_report.py'
- 'tools/run_gsifi_governance_checks.py'
- 'test_run_gsifi_governance_checks.py'
- 'test_daily_gsifi_governance_workflow.py'
- 'test_generate_gsifi_governance_report.py'
- 'test_validate_governance_artifacts.py'
- 'tools/validate_governance_artifacts.py'
- '.github/workflows/daily-gsifi-governance-validation.yml'
- 'requirements-governance-checks.txt'
push:
branches: [main, master]
paths:
- 'DAILY_GSIFI_AGI_ASI_GOVERNANCE_2026_2030.md'
- 'artifacts/daily_governance_report.example.json'
- 'artifacts/daily_governance_report.schema.json'
- 'policies/sentinel_governance.rego'
- 'test_governance_snippets.py'
- 'GOVERNANCE_ARTIFACTS_README.md'
- 'Makefile'
- 'tools/generate_gsifi_governance_report.py'
- 'tools/run_gsifi_governance_checks.py'
- 'test_run_gsifi_governance_checks.py'
- 'test_daily_gsifi_governance_workflow.py'
- 'test_generate_gsifi_governance_report.py'
- 'test_validate_governance_artifacts.py'
- 'tools/validate_governance_artifacts.py'
- '.github/workflows/daily-gsifi-governance-validation.yml'
- 'requirements-governance-checks.txt'
permissions:
contents: read
jobs:
validate:
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Python
uses: actions/setup-python@v5
with:
python-version: '3.12'
- name: Install test dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements-governance-checks.txt
- name: Run Python syntax checks
run: make daily-gsifi-governance-pycompile
- name: Run governance checks with JUnit output
run: make daily-gsifi-governance-ci
- name: Generate governance markdown summary
run: make daily-gsifi-governance-report
- name: Append governance summary to job summary
if: always()
run: cat artifacts/test-results/gsifi-governance-run-summary.md >> "$GITHUB_STEP_SUMMARY"
- name: Upload governance test report
if: always()
uses: actions/upload-artifact@v4
with:
name: gsifi-governance-test-report
path: |
artifacts/test-results/gsifi-governance-tests.xml
artifacts/test-results/gsifi-governance-run-summary.json
artifacts/test-results/gsifi-governance-run-summary.md