What does whether or not a petition is responded to have to do with open-sourcing code in a White House repo? Your complaint is like if Mac open sourced a component of OS X and you went on a rant about them not moving work out of abusive factories in China due to a petition.
True, but it's hard to disentangle the product from the thing that produced it. If Apple open sourced a product, I would fully expect to see criticism of their policies (probably around openness and and transparency, rather than labour) in any collective reaction.