As The Times told BleepingComputer last week, the attackers used exposed credentials to hack into the newspaper’s GitHub repos.
It explicitly says the credentials were leaked. If you’re really going to insist the word “hack” implies something else, I’m afraid you’re too far on the spectrum for me to continue this conversation. Cya!