Preheat the oven to 400ºF / 200ºC degrees.
Place an ovenproof skillet over a medium heat (you need one with a lid) and cook the diced pancetta until crispy and the fat has rendered. Remove from the skillet and drain on kitchen paper.
Add the butter to the remaining pancetta fat in the skillet and once melted add in the onion and cook until just starting to soften which will take around four minutes. Add in the garlic and cook for another minute.
Add in the chopped sage and thyme before adding in the rice. Cook for a minute or two until the rice is beginning to turn translucent and is well coated in the melted butter.
Add in the squash, wine and chicken broth and season with salt and pepper.
Bring to a boil then put the lid on and bake in the oven for around 50-60 minutes.
It is ready when the rice is tender and all the liquid has been absorbed.
Remove the lid and add in the lemon juice and parmesan and stir until creamy.
Serve in bowls sprinkled with the pancetta and a little more parmesan.