Files
config-atlas/.github/workflows/validate.yml
tegwick 72bbdad2c8
Some checks failed
validate-registry / validate (push) Has been cancelled
feat(registry): complete ATLAS-WP-0002 T02, T03, T06
T02: remove inherited capability.infotech.repo-template and template consumer
docs (statehub-register, template-validation-checklist); add
capability.infotech.config-surface-atlas and rewrite capabilities.yaml.

T03: seed 4 configuration surfaces (state-hub api-config, ops-warden
routing-catalog, reuse-surface federation-sources, ops-bridge tunnel-config)
with registry/indexes/surfaces.yaml; source-linked, no values, secret deps by
reference.

T06: add tools/validate_registry.py (schema + index gate), Makefile (make
validate), and .github/workflows/validate.yml (GitHub + Gitea Actions);
document in stack-and-commands. Verified malformed entries are rejected.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-26 23:19:18 +02:00

23 lines
680 B
YAML

# Registry validation gate (ATLAS-WP-0002-T06).
# Runs on GitHub Actions and Gitea Actions (both read .github/workflows).
name: validate-registry
on:
push:
pull_request:
jobs:
validate:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: "3.12"
- name: Install validation dependencies
run: pip install --quiet pyyaml jsonschema
- name: Validate surface entries against schema + index
run: python3 tools/validate_registry.py
- name: Check whitespace / conflict markers
run: git diff --check $(git hash-object -t tree /dev/null) -- .