France's ruling Socialist Party on Monday announced it would join forces with the Greens and the Communist Party in a bid to block advances by the far-right National Front (FN) in nationwide local elections.