From 4f69022655ba0dc895f0219243b96516f5415124 Mon Sep 17 00:00:00 2001 From: ndr_brt Date: Fri, 21 Jun 2024 13:59:30 +0200 Subject: [PATCH] build: add check for management-api modification (#4283) * build: add check for management-api modification * fetch main too * matrix job to check all the api specs * use reusable flow to verify openapi --- .github/workflows/publish-openapi-ui.yml | 6 ------ .github/workflows/verify-openapi.yml | 9 +++++++++ 2 files changed, 9 insertions(+), 6 deletions(-) create mode 100644 .github/workflows/verify-openapi.yml diff --git a/.github/workflows/publish-openapi-ui.yml b/.github/workflows/publish-openapi-ui.yml index eb15a95bcf7..efe883a673e 100644 --- a/.github/workflows/publish-openapi-ui.yml +++ b/.github/workflows/publish-openapi-ui.yml @@ -4,12 +4,6 @@ on: push: branches: - main - workflow_dispatch: - inputs: - version: - description: version to be published - required: false - type: string jobs: publish: diff --git a/.github/workflows/verify-openapi.yml b/.github/workflows/verify-openapi.yml new file mode 100644 index 00000000000..e0c77f84f83 --- /dev/null +++ b/.github/workflows/verify-openapi.yml @@ -0,0 +1,9 @@ +name: verify openapi + +on: + pull_request: + +jobs: + verify: + uses: eclipse-edc/.github/.github/workflows/verify-openapi.yml@main + secrets: inherit