Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

UploadSarif Always Returns An Error #3036

Closed
Rigdon opened this issue Jan 3, 2024 · 3 comments · Fixed by #3047
Closed

UploadSarif Always Returns An Error #3036

Rigdon opened this issue Jan 3, 2024 · 3 comments · Fixed by #3047
Assignees

Comments

@Rigdon
Copy link
Contributor

Rigdon commented Jan 3, 2024

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.

@gmlewis
Copy link
Collaborator

gmlewis commented Jan 3, 2024

Thank you, @Rigdon . Would you like to submit a PR to fix this, or shall we open this up to other contributors?

@Rigdon
Copy link
Contributor Author

Rigdon commented Jan 3, 2024

I'll actually try to get a PR open this week.

@gmlewis
Copy link
Collaborator

gmlewis commented Jan 3, 2024

Thank you, @Rigdon !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants