The second link is paywalled, but from the various sources I looked at, the diversity problems with Valve seem limited to "Valve refuses to spend company time/effort to support my cause". I have not seen
any concrete claims of misbehavior, in direct contrast to some other video game companies.
Additionally, when I actually look into the alleged statistics of claims that "Valve is primarily white and male", the numbers ... don't actually look that bad? We shouldn't expect any company to fit national demographics exactly.