State tax filing

When you go through your PA return, there is a question:

What kind of retirement income did you have from Pennsylvania

Chose the correct answer, most likely it will be I'm eligible, Plan's eligible, (no PA tax)

That will keep the pension from being taxed in PA