Skip to content

[BUG]: System.ArgumentException: Value 'auto_rebase_enabled' is not a valid 'EventInfoState' enum value. #3013

@gusarov

Description

@gusarov

What happened?

Hello, when we are enabling Auto Merge on a PR in GHE, the tooling fails with Octokit exception

System.ArgumentException: Value 'auto_rebase_enabled' is not a valid 'EventInfoState' enum value.
    at Octokit.StringEnum`1.ParseValue() in /_/Octokit/Models/Response/StringEnum.cs:line 149
    at Octokit.StringEnum`1.get_Value() in /_/Octokit/Models/Response/StringEnum.cs:line 45
System.ArgumentException: Value 'auto_rebase_enabled' is not a valid 'EventInfoState' enum value.

This likely corresponds to
https://docs.github.com/en/enterprise-cloud@latest/graphql/reference/objects

Versions

13.0.1 but looks like 14.0.0 still do not have this value

Relevant log output

Code of Conduct

  • I agree to follow this project's Code of Conduct

Metadata

Metadata

Assignees

No one assigned

    Labels

    Status: TriageThis is being looked at and prioritizedType: BugSomething isn't working as documented

    Type

    No type

    Projects

    Status

    🔥 Backlog

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions