From 7a786bb03dc3d9a72bcb826f52447bc98bb4b231 Mon Sep 17 00:00:00 2001 From: timur-malikov_visier Date: Wed, 31 Jul 2024 10:24:22 -0700 Subject: [PATCH] fix to create and push PR --- .github/workflows/generate-sdks.yml | 5 +++-- res/administration-apis.yaml | 2 +- res/analytic-model-apis.yaml | 2 +- res/authentication-apis.yaml | 2 +- res/data-in-apis.yaml | 2 +- res/data-out-apis.yaml | 2 +- 6 files changed, 8 insertions(+), 7 deletions(-) diff --git a/.github/workflows/generate-sdks.yml b/.github/workflows/generate-sdks.yml index 1dded6a..18e4e98 100644 --- a/.github/workflows/generate-sdks.yml +++ b/.github/workflows/generate-sdks.yml @@ -74,9 +74,10 @@ jobs: --body "This PR created automatically after pushing changes to language-sdk repos." \ --head "${{ github.ref_name }}" \ --base "${{ env.OPENAPI_CLIENT_PR_BASE_BRANCH }}") - pr_number=$(echo "$pr_output" | grep -oP '(?<=#)\d+') - echo "pr_number=$pr_number" >> $GITHUB_OUTPUT + pr_number=$(echo "$pr_output" | grep -oE '[0-9]+$') echo "Pull Request #$pr_number created successfully." + echo "pr_number=$pr_number" >> $GITHUB_OUTPUT + - name: Merge Pull Request env: diff --git a/res/administration-apis.yaml b/res/administration-apis.yaml index c8d837d..79b1853 100644 --- a/res/administration-apis.yaml +++ b/res/administration-apis.yaml @@ -8,7 +8,7 @@ info: license: name: Apache License, Version 2.0 url: https://www.apache.org/licenses/LICENSE-2.0 - version: 0.1.2 + version: 0.1.3 paths: /v1/admin/capabilities: get: diff --git a/res/analytic-model-apis.yaml b/res/analytic-model-apis.yaml index f20fcf2..c6e24b0 100644 --- a/res/analytic-model-apis.yaml +++ b/res/analytic-model-apis.yaml @@ -8,7 +8,7 @@ info: license: name: Apache License, Version 2.0 url: https://www.apache.org/licenses/LICENSE-2.0 - version: 0.1.2 + version: 0.1.3 paths: /v1/admin/calculation-concepts: get: diff --git a/res/authentication-apis.yaml b/res/authentication-apis.yaml index 4fa7c1e..37336b8 100644 --- a/res/authentication-apis.yaml +++ b/res/authentication-apis.yaml @@ -8,7 +8,7 @@ info: license: name: Apache License, Version 2.0 url: https://www.apache.org/licenses/LICENSE-2.0 - version: 0.1.2 + version: 0.1.3 paths: /v1/auth/oauth2/userinfo: get: diff --git a/res/data-in-apis.yaml b/res/data-in-apis.yaml index 47ac863..77456d9 100644 --- a/res/data-in-apis.yaml +++ b/res/data-in-apis.yaml @@ -8,7 +8,7 @@ info: license: name: Apache License, Version 2.0 url: https://www.apache.org/licenses/LICENSE-2.0 - version: 0.1.2 + version: 0.1.3 paths: /v1/data/directloads/{draftId}/configs: get: diff --git a/res/data-out-apis.yaml b/res/data-out-apis.yaml index 5755085..d6b61c2 100644 --- a/res/data-out-apis.yaml +++ b/res/data-out-apis.yaml @@ -8,7 +8,7 @@ info: license: name: Apache License, Version 2.0 url: https://www.apache.org/licenses/LICENSE-2.0 - version: 0.1.2 + version: 0.1.3 paths: /v1/data/query/aggregate: post: