In the case were the build happens from a github action there are standard builtin credential (workflow permissions).
https://docs.github.com/en/rest/using-the-rest-api/rate-limi...