bugfix: fixed jq

This commit is contained in:
santiagosayshey
2024-06-28 07:57:25 +09:30
parent d33019c64b
commit a15aa44d70

View File

@@ -43,7 +43,7 @@ jobs:
}
}
}
}' -f project=$PROJECT_ID --jq '.data.node.items.nodes[] | select(.content.number == $ISSUE_NUMBER) | .id')
}' -f project=$PROJECT_ID --jq ".data.node.items.nodes[] | select(.content.number == $ISSUE_NUMBER) | .id" -F number=$ISSUE_NUMBER)
if [ -z "$item_id" ]; then
echo "Error: Project item ID not found for issue number $ISSUE_NUMBER"
exit 1