Open sofisl opened 1 year ago
The github token is passed into the cloud build trigger. @bcoe, where does that github token come from?
I thought it was done here, although I may be wrong.
The token gets passed in.
Changing this will require some redesign.
I described the issue in detail in go/chicken-timer. I'll book a meeting to discuss next week.
See: https://github.com/googleapis/google-cloud-node/pull/4205/checks?check_run_id=13174523254
If/when the post-processor takes ~2hrs to complete, the JWT it uses expires and it doesn't have the necessary credentials to commit back the changes. From what I recall, the JWT only lasts for 10 minutes.
Could we extend the JWT, or retry authentication if it gets this response?
https://pantheon.corp.google.com/cloud-build/builds;region=global/d8adf3d8-08d4-4413-ba19-f5af1152c48b;step=9?project=repo-automation-bots