"Scientists have discovered what may be the most powerful time bomb in our galaxy: a doomed star whose death throes could be one of the most extreme events since the Big Bang." Wake me up when it's dead, please someone? https://www.thetimes.co.uk/article/dying-star-could-be-a-time-bomb-rgrw2mvkq
Actually, a GRB isn't as deadly as you think. Our ozone layer would block the vast majority of it, however in doing so, it would become depleted and allow UV radiation from the sun to strike the Earth. You couldn't go outside with some significant UV protection, skin cancer rates would skyrocket, and crops and livestock would die, producing world wide famine. Yes, it would be bad, but the human race would ultimately survive.
Mineral things like stars don't die, they corrode; only vegetable and animal forms die. Scientists ought to know that. You should now it if you're into science?
Have you ever had a car that died on the freeway? Maybe your phone died in the middle of a call? Perhaps passion dying in a relationship....oh, nevermind that one. A dying star simply means it has used up it's fuel.
As I understand it, the gamma ray burst would come as beams from the poles - a relatively focused event. And, physicists claim it isn't aimed at Earth! Woo hoo! So, whoever is around when it blows (sometime between today and the next few hundred thousand years) could get to watch it without serious consequences.
Stars such as this one are in the range where the likely remainder after the supernova would be a black hole. I'd suggest that is pretty much as dead as dead could possibly get.