From ea618e3f1c33b945e7a574855c16ad122ef94ec2 Mon Sep 17 00:00:00 2001 From: tuntoja <58987095+tuntoja@users.noreply.github.com> Date: Fri, 14 Jun 2024 10:30:39 +0200 Subject: [PATCH] fix(release): handle multi word component name --- .github/workflows/release-trigger-builds.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release-trigger-builds.yml b/.github/workflows/release-trigger-builds.yml index 3398c2a0844..ea27cdd4d15 100644 --- a/.github/workflows/release-trigger-builds.yml +++ b/.github/workflows/release-trigger-builds.yml @@ -62,12 +62,12 @@ jobs: if [[ "${{ inputs.dispatch_content }}" == "FULL" ]]; then echo "Requested ${{ inputs.dispatch_content }} content, triggering all component workflows." for COMPONENT in ${COMPONENTS_COLLECT_FULL[@]}; do - gh workflow run $COMPONENT -r ${{ inputs.dispatch_target_release_branch }} + gh workflow run "$COMPONENT" -r ${{ inputs.dispatch_target_release_branch }} done else echo "Requested ${{ inputs.dispatch_content }} content, triggering centreon named components only." for COMPONENT in ${COMPONENTS_COLLECT[@]}; do - gh workflow run $COMPONENT -r ${{ inputs.dispatch_target_release_branch }} + gh workflow run "$COMPONENT" -r ${{ inputs.dispatch_target_release_branch }} done fi