Add SourceOS interaction substrate for Noetica and AgentTerm #2
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: SourceOS Interaction Substrate | |
| on: | |
| pull_request: | |
| branches: ["main"] | |
| paths: | |
| - "schemas/SourceOSInteractionEvent.json" | |
| - "examples/sourceos-interaction-event.json" | |
| - "docs/contract-additions/sourceos-interaction-substrate.md" | |
| - "tools/validate_sourceos_interaction_examples.py" | |
| - ".github/workflows/sourceos-interaction-substrate.yml" | |
| push: | |
| branches: ["main", "work/noetica-agentterm-interaction-substrate"] | |
| paths: | |
| - "schemas/SourceOSInteractionEvent.json" | |
| - "examples/sourceos-interaction-event.json" | |
| - "docs/contract-additions/sourceos-interaction-substrate.md" | |
| - "tools/validate_sourceos_interaction_examples.py" | |
| - ".github/workflows/sourceos-interaction-substrate.yml" | |
| permissions: | |
| contents: read | |
| jobs: | |
| validate-sourceos-interaction: | |
| name: Validate interaction substrate example | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Set up Python | |
| uses: actions/setup-python@v5 | |
| with: | |
| python-version: "3.12" | |
| - name: Install validator dependencies | |
| run: python -m pip install --upgrade pip jsonschema | |
| - name: Validate SourceOS interaction example | |
| run: python tools/validate_sourceos_interaction_examples.py |