Skip to content

Pull request may erroneously be printed as issue #1

@DangerBlack

Description

@DangerBlack

When a pull request is added in the repository watched by the printer the printer may print the pull request as it is an issue.

This is probably related to the github api
https://developer.github.com/v3/issues/

as described in the paragraph.

Note: GitHub's REST API v3 considers every pull request an issue, but not every issue is a pull request. For this reason, "Issues" endpoints may return both issues and pull requests in the response. You can identify pull requests by the pull_request key.

Be aware that the id of a pull request returned from "Issues" endpoints will be an issue id. To find out the pull request id, use the "List pull requests" endpoint.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions