Skip to content

Get the PR from check_suite and check_runs payload #20

@Seluj78

Description

@Seluj78

Currently, PyDocTeur won't be able to detect the PR from a check_run or check_suite completed payload.

This is because of the github API:

Note: The Checks API only looks for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty pull_requests array and a null value for head_branch.

https://developer.github.com/v3/checks/suites/

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions