ci: Fix jq command (#51510)

Finn Evers created

Sigh.. The missing flag caused the wrong output to be used, resulting in
an error in the process.

Release Notes:

- N/A

Change summary

.github/workflows/extension_auto_bump.yml                | 2 +-
tooling/xtask/src/tasks/workflows/extension_auto_bump.rs | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)

Detailed changes

.github/workflows/extension_auto_bump.yml 🔗

@@ -36,7 +36,7 @@ jobs:
         for ext in $(echo "$EXTENSIONS_JSON" | jq -r '.[]'); do
             if git show HEAD~1:"$ext/extension.toml" >/dev/null 2>&1 && \
                [ -f "$ext/extension.toml" ]; then
-                FILTERED=$(echo "$FILTERED" | jq --arg e "$ext" '. + [$e]')
+                FILTERED=$(echo "$FILTERED" | jq -c --arg e "$ext" '. + [$e]')
             fi
         done
         echo "changed_extensions=$FILTERED" >> "$GITHUB_OUTPUT"

tooling/xtask/src/tasks/workflows/extension_auto_bump.rs 🔗

@@ -46,7 +46,7 @@ fn detect_changed_extensions() -> NamedJob {
         for ext in $(echo "$EXTENSIONS_JSON" | jq -r '.[]'); do
             if git show HEAD~1:"$ext/extension.toml" >/dev/null 2>&1 && \
                [ -f "$ext/extension.toml" ]; then
-                FILTERED=$(echo "$FILTERED" | jq --arg e "$ext" '. + [$e]')
+                FILTERED=$(echo "$FILTERED" | jq -c --arg e "$ext" '. + [$e]')
             fi
         done
         echo "changed_extensions=$FILTERED" >> "$GITHUB_OUTPUT"