Skip to content

PR count sometimes finds zero PRs #111

@rcomer

Description

@rcomer

Hi, thanks for the really useful Action!

Today we had a new contributor PR that was not identified as such. The logs show a PR count of zero, and I see you are explicitly checking for one.
https://github.com/matplotlib/matplotlib/actions/runs/27398912554/job/80972140636

Another PR a few days ago was correctly identified, and I do not see an obvious difference in the circumstances.
https://github.com/matplotlib/matplotlib/actions/runs/27227435532/job/80398268518

I wonder if the GitHub API is just not always returning very new PRs. If so, would it be practicable to skip the current PR in the PR count, and check if the count is zero?

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