Skip to content

Commit

Permalink
Use an actual defined ID (#1384)
Browse files Browse the repository at this point in the history
  • Loading branch information
staylorTT authored Nov 25, 2024
1 parent c908d52 commit 1609d01
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/issue-last-updated.yml
Original file line number Diff line number Diff line change
Expand Up @@ -90,9 +90,9 @@ jobs:
fi
# Parse the item ID if it matches the ISSUE_NODE_ID
ITEM_ID=$(echo "$RESPONSE" | jq -r --arg ISSUE_NODE_ID "$ISSUE_NODE_ID" \
'.data.node.items.nodes[] | select(.content.id==$ISSUE_NODE_ID) | .id')
# Parse the item ID if it matches the issue_id
ITEM_ID=$(echo "$RESPONSE" | jq -r --arg issue_id "$issue_id" \
'.data.node.items.nodes[] | select(.content.id==$issue_id) | .id')
# If ITEM_ID is found, output it and stop the loop
Expand Down

0 comments on commit 1609d01

Please sign in to comment.