You asked

Is the panasonic lumix s pro 24 70mm f 2 8 good for astrophotography?

The site doesn't cover astrophotography, so it can't confirm whether this lens is good for night sky work. The lens page gives its f/2.8 maximum aperture and full frame coverage, but it doesn't say how it performs with stars.

The reasoning from the site's general advice still points one way. For dim light, a wide aperture matters most. The aperture section explains that f/2.8 lets in more light than slower lenses, and it stays at f/2.8 across the whole zoom range. The landscape guide says f/4 zooms suit daytime scenes shot at f/8 to f/11, but night work needs the extra light, so this lens has the edge over those. It is not stabilised, though, and the site's pages don't say whether the camera body steadies the image for you, so check that on the camera's own page.

The lens fits many full frame L-Mount bodies. Some worth considering for night work are:

The guide can't rank these for stars, because the site doesn't cover their night performance. Check each camera page for its sensor and stabilisation details.

Written by Claude from this site's pages.

From these pages

This answer is for the question above. Each answer is written for the exact question in its address, so a question with its details in it (a budget, what you shoot, what you already have) gets an answer about those details. An answer draws on all 15 pages of the guide and its catalogue of 320 cameras and 1050 lenses. Another question gets its own answer at its own address, as words after /ask/. Or fill in your own: /ask/which-camera-for-{what-you-shoot}-under-{budget}-euros or /ask/which-lens-for-{what-you-shoot}-on-{your-camera}.