Skip to content

Commit 301ef9a

Browse files
fix: Release Fix - Added the workflow_call element in missing workflows (#4954)
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 <[email protected]>
1 parent 8196d78 commit 301ef9a

2 files changed

Lines changed: 28 additions & 0 deletions

File tree

.github/workflows/publish.yml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,17 @@ on:
1515
required: true
1616
default: ""
1717
type: string
18+
workflow_call: # Allows trigger the workflow from other workflow
19+
inputs:
20+
custom_version: # Optional input for a custom version
21+
description: 'Custom version to publish (e.g., v1.2.3) -- only edit if you know what you are doing'
22+
required: false
23+
type: string
24+
token:
25+
description: 'Personal Access Token'
26+
required: true
27+
default: ""
28+
type: string
1829

1930
jobs:
2031
publish-python-sdk:

.github/workflows/release.yml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,23 @@ on:
1818
required: true
1919
default: true
2020
type: boolean
21+
workflow_call:
22+
inputs:
23+
dry_run:
24+
description: 'Dry Run'
25+
required: true
26+
default: true
27+
type: boolean
28+
token:
29+
description: 'Personal Access Token'
30+
required: true
31+
default: ""
32+
type: string
33+
publish_ui:
34+
description: 'Publish to NPM?'
35+
required: true
36+
default: true
37+
type: boolean
2138

2239
jobs:
2340
get_dry_release_versions:

0 commit comments

Comments
 (0)