Skip to content

Add OpsHistory operational receipt contracts (#16) #3

Add OpsHistory operational receipt contracts (#16)

Add OpsHistory operational receipt contracts (#16) #3

name: ops-history-receipts
on:
pull_request:
paths:
- 'schemas/ops-history-receipt.schema.json'
- 'examples/ops-history/**'
- 'scripts/validate_ops_history_receipts.py'
- '.github/workflows/ops-history-receipts.yml'
push:
branches:
- main
- ops-history-receipt-contracts
paths:
- 'schemas/ops-history-receipt.schema.json'
- 'examples/ops-history/**'
- 'scripts/validate_ops_history_receipts.py'
- '.github/workflows/ops-history-receipts.yml'
workflow_dispatch:
jobs:
validate:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: '3.11'
- run: python -m pip install jsonschema
- run: python scripts/validate_ops_history_receipts.py