Skip to content

Commit 762a241

Browse files
committed
separate input for workflow_call
1 parent 16fdb9c commit 762a241

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.github/workflows/fatimage.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ on:
1212
- ARCUS
1313
workflow_call:
1414
inputs:
15-
ci_cloud:
15+
ci_cloud_override:
1616
type: string
1717
default: LEAFCLOUD
1818
outputs:
@@ -43,7 +43,7 @@ jobs:
4343
env:
4444
ANSIBLE_FORCE_COLOR: True
4545
OS_CLOUD: openstack
46-
CI_CLOUD: ${{ inputs.ci_cloud }}
46+
CI_CLOUD: ${{ github.event_name == 'workflow_dispatch' && github.event.inputs.ci_cloud || inputs.ci_cloud_override }}
4747
ARK_PASSWORD: ${{ secrets.ARK_PASSWORD }}
4848
LEAFCLOUD_PULP_PASSWORD: ${{ secrets.LEAFCLOUD_PULP_PASSWORD }}
4949
outputs:

.github/workflows/update-timestamps.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ jobs:
8484
secrets: inherit
8585
uses: stackhpc/ansible-slurm-appliance/.github/workflows/fatimage.yml@auto/bump-timestamps
8686
with:
87-
ci_cloud: 'LEAFCLOUD'
87+
ci_cloud_override: 'LEAFCLOUD'
8888

8989
ci_and_pr:
9090
if: needs.upstream_check.outputs.new_fatimage == 'true'

0 commit comments

Comments
 (0)