From 5831a0af9f93767ac200e456ce5c4645cabd643d Mon Sep 17 00:00:00 2001 From: Artem Tsybulko Date: Wed, 15 Jan 2025 10:02:05 +0300 Subject: [PATCH] SP-18211 - update update-clients.yml --- .github/workflows/update-clients.yml | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/.github/workflows/update-clients.yml b/.github/workflows/update-clients.yml index 098ef4a..cf136ad 100644 --- a/.github/workflows/update-clients.yml +++ b/.github/workflows/update-clients.yml @@ -8,6 +8,10 @@ on: title: description: "Title For PR's" required: true + branch: + description: "OpenAPI branch" + required: true + default: "develop" jobs: title: @@ -31,7 +35,7 @@ jobs: uses: actions/checkout@v4 with: path: "DocumentReader-web-openapi" - ref: "develop" + ref: ${{ github.event.inputs.branch }} - name: Checkout JS Client Repo uses: actions/checkout@v4 @@ -75,7 +79,7 @@ jobs: uses: actions/checkout@v4 with: path: "DocumentReader-web-openapi" - ref: "develop" + ref: ${{ github.event.inputs.branch }} - name: Checkout Java Client Repo uses: actions/checkout@v4 @@ -111,7 +115,7 @@ jobs: uses: actions/checkout@v4 with: path: "DocumentReader-web-openapi" - ref: "develop" + ref: ${{ github.event.inputs.branch }} - name: Checkout Python Client Repo uses: actions/checkout@v4 @@ -147,7 +151,7 @@ jobs: uses: actions/checkout@v4 with: path: "DocumentReader-web-openapi" - ref: "develop" + ref: ${{ github.event.inputs.branch }} - name: Checkout C# Client Repo uses: actions/checkout@v4