Skip to content

[BUG]: pull_request.auto_merge properties should allow string or null #828

@ZauberNerd

Description

@ZauberNerd

What happened?

According to the GitHub docs https://docs.github.com/en/webhooks-and-events/webhooks/webhook-events-and-payloads#pull_request the properties pull_request.auto_merge.enabled_by, commit_title and commit_message should allow string or null.
The current schema allows only string.

Versions

@octokit/webhooks 12.0.3, Node.js 20.1.0

Relevant log output

No response

Code of Conduct

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type: BugSomething isn't working as documentedreleased

    Type

    No type
    No fields configured for issues without a type.

    Projects

    Status
    ✅ Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions