From f0696a55059aeb552e11c2678b629b231921d87d Mon Sep 17 00:00:00 2001 From: Jim Bennett Date: Wed, 27 Mar 2024 16:20:19 +0000 Subject: [PATCH 1/3] Updating action --- .github/workflows/swagger-editor-validator.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/swagger-editor-validator.yml b/.github/workflows/swagger-editor-validator.yml index cba52e53af..d2f961d7ca 100644 --- a/.github/workflows/swagger-editor-validator.yml +++ b/.github/workflows/swagger-editor-validator.yml @@ -1,4 +1,6 @@ --- +name: Swagger Editor validation + on: # yamllint disable-line rule:truthy pull_request: branches: @@ -10,7 +12,7 @@ jobs: name: Swagger Editor Validator Remote steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Validate OpenAPI definition uses: char0n/swagger-editor-validate@v1.3.2 with: From 06393c2edff2797a90a4ab2be9ea3cf05bb57032 Mon Sep 17 00:00:00 2001 From: Jim Bennett Date: Wed, 27 Mar 2024 16:21:47 +0000 Subject: [PATCH 2/3] Setting to manual to test --- .github/workflows/swagger-editor-validator.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/swagger-editor-validator.yml b/.github/workflows/swagger-editor-validator.yml index d2f961d7ca..71a5e89095 100644 --- a/.github/workflows/swagger-editor-validator.yml +++ b/.github/workflows/swagger-editor-validator.yml @@ -1,10 +1,10 @@ --- name: Swagger Editor validation -on: # yamllint disable-line rule:truthy - pull_request: - branches: - - main +on: workflow_dispatch # yamllint disable-line rule:truthy + # pull_request: + # branches: + # - main jobs: test_swagger_editor_validator_remote: From 6962e8a375003aee6ed1f158b186720bdb1c8bae Mon Sep 17 00:00:00 2001 From: Jim Bennett Date: Wed, 27 Mar 2024 16:24:23 +0000 Subject: [PATCH 3/3] revert workflow dispatch after testing --- .github/workflows/swagger-editor-validator.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/swagger-editor-validator.yml b/.github/workflows/swagger-editor-validator.yml index 71a5e89095..d2f961d7ca 100644 --- a/.github/workflows/swagger-editor-validator.yml +++ b/.github/workflows/swagger-editor-validator.yml @@ -1,10 +1,10 @@ --- name: Swagger Editor validation -on: workflow_dispatch # yamllint disable-line rule:truthy - # pull_request: - # branches: - # - main +on: # yamllint disable-line rule:truthy + pull_request: + branches: + - main jobs: test_swagger_editor_validator_remote: