workflows: refactoting

Signed-off-by: Georgios Papoutsakis <georgios.papoutsakis@cern.ch>