I have read that some high schools or workplaces require men and only men to take White Ribbon Pledge or a similar pledge. Some places require men and only men to pledge never to commit violence. It seems discriminatory.

In USA, requiring students to recite Pledge of Alliance is unconstitutional. An interesting piece on coerced speech is here

Sometimes tyrannical power seeks to force individuals under its sway to speak or utter things that the speaker does not believe. In our moral tradition, that is a frightful assault upon the innermost sanctum of human privacy and dignity. In our legal tradition, it is a worse violation of the First Amendment to force someone to say that which he does not believe (which we might describe as an affirmative form of censorship) than to prevent him from saying that which he does believe (which we might describe as a negative form of censorship).