Skip to content

Commit ad25ca3

Browse files
committed
Ensure the correct types are passed to called workflows
1 parent 382ab25 commit ad25ca3

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

.github/workflows/ci.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -358,7 +358,7 @@ jobs:
358358
go-md5: ${{ needs.checks.outputs.go_code_md5 }}
359359
base-image-md5: ${{ needs.checks.outputs.docker_md5 }}
360360
authenticated: ${{ needs.checks.outputs.forked_workflow != 'true' }}
361-
full-build: ${{ inputs.force }}
361+
full-build: ${{ inputs.force && inputs.force || false }}
362362
tag: ${{ needs.checks.outputs.build_tag }}
363363
branch: ${{ (github.head_ref && needs.checks.outputs.forked_workflow != 'true') && github.head_ref || github.ref }}
364364
ic-version: ${{ needs.checks.outputs.ic_version }}
@@ -387,7 +387,7 @@ jobs:
387387
branch: ${{ (github.head_ref && needs.checks.outputs.forked_workflow != 'true') && github.head_ref || github.ref }}
388388
tag: ${{ needs.checks.outputs.build_tag }}
389389
authenticated: ${{ needs.checks.outputs.forked_workflow != 'true' }}
390-
full-build: ${{ inputs.force }}
390+
full-build: ${{ inputs.force && inputs.force || false }}
391391
ic-version: ${{ needs.checks.outputs.ic_version }}
392392
permissions:
393393
contents: read
@@ -413,7 +413,7 @@ jobs:
413413
tag: ${{ needs.checks.outputs.build_tag }}
414414
nap-modules: ${{ matrix.nap_modules }}
415415
authenticated: ${{ needs.checks.outputs.forked_workflow != 'true' }}
416-
full-build: ${{ inputs.force }}
416+
full-build: ${{ inputs.force && inputs.force || false }}
417417
ic-version: ${{ needs.checks.outputs.ic_version }}
418418
permissions:
419419
contents: read
@@ -728,7 +728,7 @@ jobs:
728728
stable-tag: ${{ needs.checks.outputs.stable_tag }}
729729
authenticated: ${{ needs.checks.outputs.forked_workflow != 'true' }}
730730
k8s-version: ${{ matrix.k8s }}
731-
force: ${{ inputs.run_tests }}
731+
force: ${{ inputs.run_tests && inputs.run_tests || true }}
732732

733733
smoke-tests-plus:
734734
if: ${{ inputs.force || (inputs.run_tests && inputs.run_tests || true) || needs.checks.outputs.docs_only != 'true' }}
@@ -756,7 +756,7 @@ jobs:
756756
stable-tag: ${{ needs.checks.outputs.stable_tag }}
757757
authenticated: ${{ needs.checks.outputs.forked_workflow != 'true' }}
758758
k8s-version: ${{ matrix.k8s }}
759-
force: ${{ inputs.run_tests }}
759+
force: ${{ inputs.run_tests && inputs.run_tests || true }}
760760

761761
smoke-tests-nap:
762762
if: ${{ inputs.force || (inputs.run_tests && inputs.run_tests || true) || needs.checks.outputs.docs_only != 'true' }}
@@ -784,7 +784,7 @@ jobs:
784784
stable-tag: ${{ needs.checks.outputs.stable_tag }}
785785
authenticated: ${{ needs.checks.outputs.forked_workflow != 'true' }}
786786
k8s-version: ${{ matrix.k8s }}
787-
force: ${{ inputs.run_tests }}
787+
force: ${{ inputs.run_tests && inputs.run_tests || true }}
788788

789789
tag-stable:
790790
name: Tag tested image as stable

0 commit comments

Comments
 (0)