Skip to content

[Schema Inaccuracy] pull-request.head.repo is not required #161

Closed
@jamesmbourne

Description

@jamesmbourne

Schema Inaccuracy

If a pull request is created against a fork and the fork deleted, it is possible for pull-request.head.repo to be null.

image

Expected

The pull-request.head.repo property is non-required

Reproduction Steps

$ curl -X GET https://api.github.com/repos/{repo}/{repoName}/pulls/2

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions