Skip to content

Commit

Permalink
Chore: Update workflows (#235)
Browse files Browse the repository at this point in the history
Signed-off-by: Matthew Watkins <mwatkins@linuxfoundation.org>
  • Loading branch information
ModeSevenIndustrialSolutions authored Nov 9, 2024
1 parent b4ac828 commit c742d37
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/actions/gerrit-issue-id-action/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit c742d37

Please sign in to comment.