From c742d37a959aa8fd0231913b0a8541b00197fb87 Mon Sep 17 00:00:00 2001 From: Modeseven Industrial Solutions Date: Sat, 9 Nov 2024 20:32:00 +0000 Subject: [PATCH] Chore: Update workflows (#235) Signed-off-by: Matthew Watkins --- .github/actions/gerrit-issue-id-action/action.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/actions/gerrit-issue-id-action/action.yaml b/.github/actions/gerrit-issue-id-action/action.yaml index 5ee32e0..53712a1 100644 --- a/.github/actions/gerrit-issue-id-action/action.yaml +++ b/.github/actions/gerrit-issue-id-action/action.yaml @@ -57,8 +57,8 @@ runs: if [ -x "$JQ" ]; then KEY="$ACTOR" # yamllint disable-line rule:line-length - VALUE=$(echo '${{ inputs.ISSUE_ID_LOOKUP_JSON }}' | jq -r --arg KEY "$KEY" '.[] |\ - select(.key==$KEY) | .value') + VALUE=$(echo '${{ inputs.ISSUE_ID_LOOKUP_JSON }}' | \ + jq -r --arg KEY "$KEY" '.[] | select(.key==$KEY) | .value') if [ -z "$VALUE" ]; then echo "❌ The key/value lookup failed"; exit 1 fi