We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
In version v48.2.0, we are getting an error trying to unmarshal the UpdateBranchProtection response:
v48.2.0
json: cannot unmarshal object into Go struct field Protection.lock_branch of type bool: the action couldn't be fully processed, please retry command
Code snippet:
protection, res, err := c.githubClient.Repositories.UpdateBranchProtection(context.TODO(), "org", "repo", "main", request) if err != nil { return err }
The text was updated successfully, but these errors were encountered:
I believe this will be fixed by this breaking API change: #2606 in the next release.
Sorry, something went wrong.
Looks like the fix is released already.
checks
github_repository_branches
No branches or pull requests
In version
v48.2.0
, we are getting an error trying to unmarshal the UpdateBranchProtection response:json: cannot unmarshal object into Go struct field Protection.lock_branch of type bool: the action couldn't be fully processed, please retry command
Code snippet:
The text was updated successfully, but these errors were encountered: