diff --git a/.github/workflows/release-trigger-builds.yml b/.github/workflows/release-trigger-builds.yml index 3398c2a0844..36189338315 100644 --- a/.github/workflows/release-trigger-builds.yml +++ b/.github/workflows/release-trigger-builds.yml @@ -61,13 +61,13 @@ 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 }} + for COMPONENT in "${COMPONENTS_COLLECT_FULL[@]}"; do + 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 }} + for COMPONENT in "${COMPONENTS_COLLECT[@]}"; do + gh workflow run "$COMPONENT" -r ${{ inputs.dispatch_target_release_branch }} done fi