Poland - just like most nations in that area - has had many conflicts with its neighbors. That doesn't mean it's going to invade Germany, Lithuania, or Ukraine.
I think the military participation of Poland in this conflict is very likely and I spoke about this earlier - Poland has good reasons to consider the western six regions of Ukraine as its territory.