8000 Merge Queues break repository ruleset unmarshaling · Issue #3098 · google/go-github · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content {"props":{"docsUrl":"https://docs.github.com/get-started/accessibility/keyboard-shortcuts"}}
Merge Queues break repository ruleset unmarshaling #3098
Closed
@siddharthab

Description

@siddharthab

In the unmarshaling code, there is no case for merge_queue, and so the unmarshaling says that the rule type is not supported and errors out (full list of possible types from GitHub).

Also, the error message has the wrong format verb, it should be %q or %s instead of %T.

To reproduce, create a ruleset with merge queues set, and try to get it using go-github.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions

    0