Closed ex0dus-0x closed 3 years ago
My first guess is that the local transport is authenticating differently from the other environment.
Have you asked on the https://github.com/palantir/go-githubapp repo where they might have a bit more context and/or experience with this scenario?
Yup, turns out configurations on the cloud side and how it worked with their end was the issue, not the GitHub API call itself. Thanks!
I'm deploying a GitHub application that uses
go-github
through palantir/go-githubapp. The application handles PR events, and creates a Check Run for analyzing changed files in the commit. I've built and uploaded the container image to the registry, and deployed a Cloud Run app.While everything works nicely on a local host, I keep getting the following error any time the app makes an outbound request to GitHub API for instantiating a Check Run:
The corresponding code:
I've tried to manually update the deadline to something longer, but that didn't seem to work. Any ideas why this is happening and how to fix?