diff --git a/.github/workflows/contracts.yml b/.github/workflows/contracts.yml index a038669..1ddb572 100644 --- a/.github/workflows/contracts.yml +++ b/.github/workflows/contracts.yml @@ -1,5 +1,16 @@ name: Source contracts and architecture conformance 'on': + push: + branches: [main] + paths: + - 'registry.json' + - 'schemas/**' + - 'examples/**' + - 'tools/contract_validation.py' + - 'tools/architecture_conformance.py' + - 'tests/**' + - '.github/workflows/catalog.yml' + - '.github/workflows/contracts.yml' pull_request: paths: - 'registry.json'