From d9502a424be9f1fbd57a4c2c9a9bbc82328847f5 Mon Sep 17 00:00:00 2001 From: David Cassany Date: Mon, 2 Dec 2024 13:38:34 +0100 Subject: [PATCH] Fix matrix setup for dispatched workflows Signed-off-by: David Cassany --- .github/workflows/update_sources.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/update_sources.yaml b/.github/workflows/update_sources.yaml index eaf9f69..d80e304 100644 --- a/.github/workflows/update_sources.yaml +++ b/.github/workflows/update_sources.yaml @@ -50,7 +50,7 @@ jobs: if [[ "${{ env.SRC_REPOS }}" != "all" ]] && [[ "${{ env.SRC_REPOS }}" != "${repo}" ]]; then continue fi - if (( ${n} == 0 )); then + if [[ "${output}" == "repos=[" ]]; then output+="'${repo}'" else output+=", '${repo}'"