diff --git a/.drayker/component.yml b/.drayker/component.yml index e2de264..32eef2a 100644 --- a/.drayker/component.yml +++ b/.drayker/component.yml @@ -2,7 +2,7 @@ schema_version: 1 component: id: valueunit name: Value unit - layer: APPLICATION + layer: ORGANIZATION artifact_type: architecture problem: "Distributing resources in an organization without a head office needs a unit that can hold a rule." scope: diff --git a/.github/workflows/drayker-component.yml b/.github/workflows/drayker-component.yml new file mode 100644 index 0000000..2c14486 --- /dev/null +++ b/.github/workflows/drayker-component.yml @@ -0,0 +1,14 @@ +name: Drayker component contract + +on: + pull_request: + push: + branches: [master] + +permissions: + contents: read + +jobs: + component-contract: + uses: draykerdk/.github/.github/workflows/validate-component.yml@master +