Instead, those companies are going to promote specific subgroups and not admit it. After all, you can always claim that it's a coincidence that the only qualified people were straight white men. It's only discrimination if you write it down.
What do you think is the gender split in the tech hiring pool?
What do you think is the racial split?
It's not sufficient. It also requires someone looking at the hires and seeing if it looks like it's being carried out. Those were the people Trump just fired from the government.