From 5d16660205faa7863efe4c8af3d6ab39e3d45b6d Mon Sep 17 00:00:00 2001 From: lrangine <19699092+lokeshrangineni@users.noreply.github.com> Date: Wed, 22 Jan 2025 00:07:31 -0500 Subject: [PATCH] Added the workflow_call element in all the workflows wherever there is a workflow_dispatch element to see if that fixes the problem to be able to call the workflow from another workflow. Signed-off-by: lrangine <19699092+lokeshrangineni@users.noreply.github.com> --- .github/workflows/publish.yml | 11 +++++++++++ .github/workflows/release.yml | 17 +++++++++++++++++ 2 files changed, 28 insertions(+) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index c8f55dcc9a9..fb31cb0e8ad 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -15,6 +15,17 @@ on: required: true default: "" type: string + workflow_call: # Allows trigger the workflow from other workflow + inputs: + custom_version: # Optional input for a custom version + description: 'Custom version to publish (e.g., v1.2.3) -- only edit if you know what you are doing' + required: false + type: string + token: + description: 'Personal Access Token' + required: true + default: "" + type: string jobs: publish-python-sdk: diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 961c1412862..5e95950cbeb 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -18,6 +18,23 @@ on: required: true default: true type: boolean + workflow_call: + inputs: + dry_run: + description: 'Dry Run' + required: true + default: true + type: boolean + token: + description: 'Personal Access Token' + required: true + default: "" + type: string + publish_ui: + description: 'Publish to NPM?' + required: true + default: true + type: boolean jobs: get_dry_release_versions: