I feel GitHub need more accountability on this. My guess is this is most likely an OAuth token for VSCode or another GitHub-privileged OAuth app, and none of these support token refresh or shorter/configurable expiry by default.
I'd also hazard that this only impacted repos where this user was an admin - otherwise more systems would probably have been affected.