-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsourceos-interaction-substrate.yml
More file actions
40 lines (34 loc) · 1.26 KB
/
sourceos-interaction-substrate.yml
File metadata and controls
40 lines (34 loc) · 1.26 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
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