From dc38409be4a4541e722823650180c14f4615baf0 Mon Sep 17 00:00:00 2001 From: Padma Jadav <147383171+Jadavpadma@users.noreply.github.com> Date: Thu, 19 Dec 2024 21:50:48 +0530 Subject: [PATCH] Update swagger-editor.yml --- .github/workflows/swagger-editor.yml | 27 +++++++++++++++++++++++++-- 1 file changed, 25 insertions(+), 2 deletions(-) diff --git a/.github/workflows/swagger-editor.yml b/.github/workflows/swagger-editor.yml index e69dfe5..1cf8c8d 100644 --- a/.github/workflows/swagger-editor.yml +++ b/.github/workflows/swagger-editor.yml @@ -1,22 +1,45 @@ -# https://github.com/marketplace/actions/swagger-editor-validator name: Swagger Editor + 'on': + push: + branches: + - '**' + pull_request: + branches: + - '**' + schedule: + - cron: 0 1 * * * + workflow_dispatch: null + jobs: + validate: + runs-on: ubuntu-latest + steps: + - name: Checkout + uses: actions/checkout@v3 + + - name: Install dependencies + + run: sudo apt-get install -y libxkbcommon-x11-0 + - name: Validate OpenAPI definition - uses: char0n/swagger-editor-validate@v1.4.1 + + uses: char0n/swagger-editor-validate@v1.3.2 + with: + definition-file: openbanking-us.yaml