A General Motors Corp. program that lets Hispanics, blacks or lesbians — but not Christians — organize in employee groups does not commit religious discrimination, a federal court ruled.

The company’s Affinity Group diversity program treats all religions equally because no groups are allowed to promote religious positions, the 7th U.S. Circuit Court of Appeals in Chicago ruled.