Do i have to file an out of state w-2 on my local income tax filing. worked 3 months out of state as a non resident there and wonder if that income is taxable by local

student who worked 2 months during summer in CT. resident of PA. working on filing with local income tax office and don't know if I have to claim CT income to be taxed in PA.