Blocks which repel piglins, as well as items they're afraid to pick up, are controlled by tags called minecraft:piglin_repellents. However, this tag does not seem to have an entities equivalent, which is odd due to the existence of mobs which scare piglins (e.g. the zombified version).
Hi there!
I can confirm.