Skip to content

Commit f347200

Browse files
fix: Update workflows to also use workflow_call
Signed-off-by: Francisco Javier Arceo <farceo@redhat.com>
1 parent 02b0a68 commit f347200

File tree

4 files changed

+41
-0
lines changed

4 files changed

+41
-0
lines changed

.github/workflows/publish_helm_charts.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,16 @@ on:
1111
required: true
1212
default: ""
1313
type: string
14+
workflow_call: # Allows trigger of the workflow from another workflow
15+
inputs:
16+
custom_version: # Optional input for a custom version
17+
description: 'Custom version to publish (e.g., v1.2.3) -- only edit if you know what you are doing'
18+
required: false
19+
token:
20+
description: 'Personal Access Token'
21+
required: true
22+
default: ""
23+
type: string
1424

1525
jobs:
1626
get-version:

.github/workflows/publish_images.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,16 @@ on:
1111
required: true
1212
default: ""
1313
type: string
14+
workflow_call: # Allows trigger of the workflow from another workflow
15+
inputs:
16+
custom_version: # Optional input for a custom version
17+
description: 'Custom version to publish (e.g., v1.2.3) -- only edit if you know what you are doing'
18+
required: false
19+
token:
20+
description: 'Personal Access Token'
21+
required: true
22+
default: ""
23+
type: string
1424

1525
jobs:
1626
get-version:

.github/workflows/publish_java_sdk.yml

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

1526
jobs:
1627
get-version:

.github/workflows/publish_python_sdk.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,16 @@ on:
1111
required: true
1212
default: ""
1313
type: string
14+
workflow_call: # Allows trigger of the workflow from another workflow
15+
inputs:
16+
custom_version: # Optional input for a custom version
17+
description: 'Custom version to publish (e.g., v1.2.3) -- only edit if you know what you are doing'
18+
required: false
19+
token:
20+
description: 'Personal Access Token'
21+
required: true
22+
default: ""
23+
type: string
1424

1525
jobs:
1626
get-version:

0 commit comments

Comments
 (0)