Is it when the fork or the wheel is moving (compared to the rest of the bike)?

Probably the brakes, but a squeal when the fork is moving relative to the bike indicates something in the headset.