diff --git a/.github/workflows/pull_request.yaml b/.github/workflows/pull_request.yaml index 7e5e279a..5beceb7a 100644 --- a/.github/workflows/pull_request.yaml +++ b/.github/workflows/pull_request.yaml @@ -33,3 +33,9 @@ jobs: permissions: pull-requests: write contents: read + + validation-checker: + uses: ./.github/workflows/validation-check.yml + permissions: + pull-requests: write + contents: read diff --git a/.github/workflows/validation-check.yml b/.github/workflows/validation-check.yml new file mode 100644 index 00000000..c4e1f395 --- /dev/null +++ b/.github/workflows/validation-check.yml @@ -0,0 +1,17 @@ +name: Validation + +on: + workflow_call: + +jobs: + validate-services: + runs-on: ubuntu-latest + + steps: + - name: Checkout code + uses: actions/checkout@v4 + + - name: FINOS CCC Validator + uses: sshiells-scottlogic/finos-ccc-validator@1.0.9 + with: + targetDir: "./services"