This PR adds the SkipResolution option to api.ClientOptions allowing the user to skip all automatic resolutions that go-gh will do upon initializing an api client. This PR also changes the "Time-Zone" header to only be added if it was properly resolved, both changes are necessary for fixing 5978.
This PR adds the
SkipResolution
option toapi.ClientOptions
allowing the user to skip all automatic resolutions thatgo-gh
will do upon initializing an api client. This PR also changes the "Time-Zone" header to only be added if it was properly resolved, both changes are necessary for fixing 5978.Fixes https://github.com/cli/cli/issues/5978 cc https://github.com/cli/cli/pull/5935