Skip to content

Correct note related to "List Check Runs" API #28285

@mbtools

Description

@mbtools

Code of Conduct

What article on docs.github.com is affected?

First paragraph of "List check runs for a Git reference"

What changes are you suggesting?

"Pushes to a branch in a forked repository are not detected and return an empty pull_requests array." is incorrect.

pull_requests must be replaced with check_runs.

You might also add that total_count will be 0 in such cases.

Additional information

I would have created a PR myself, but "Make a contribution" at the bottom of the page does not lead to the actual content that needs fixing. Where is the file that needs to be changed?

Metadata

Metadata

Assignees

No one assigned

    Labels

    contentThis issue or pull request belongs to the Docs Content team

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions