If Josh Shapiro is headed to Harrisburg, that means PA is sending the Democratic set of electors to vote, not the Republican set
In essence, all of PA's votes will be for Biden/Harris
No laws being broken here, at least on the surface
Whether PA should be sending the Democratic or Republican set of electors is a different story