UploadSarif Always Returns An Error
Rigdon opened this issue · comments
M. Ryan Rigdon commented
In version 57.0.0 of go-github, UploadSarif never returns a valid SarifID object because it's propagating the AcceptedError instead of deserializing the body because this endpoint returns a 202. It seems to exhibit the same behavior that was fixed for CreateFork in #878.
Glenn Lewis commented
Thank you, @Rigdon . Would you like to submit a PR to fix this, or shall we open this up to other contributors?
M. Ryan Rigdon commented
I'll actually try to get a PR open this week.
Glenn Lewis commented
Thank you, @Rigdon !