He can only run the baseline after a made basket or foul shot.
All other situations (non-shooting fouls, ball goes out of bounds, violations, etc.) if the correct position is a "spot" inbound on the baseline, he has limited movement (3 feet either way of the spot) - but can not "run the baseline."