​Valero, often known for its environmental mishaps, also donated millions to charity.