Skip to content

skip-news and type-tests badges #421

Description

@sobolevn

The short story

It would be nice if skip-news label is automatically added when both conditions are true:

  • PR has type-tests badge
  • It does not have new NEWS entry

Example: python/cpython#30472

Long version

I love working on unit-tests in CPython, but I have a small problem. When I submit a PR the CI is usually red, because NEWS check fails: there's no NEWS entry.

Most of the reviewers say that test-only changes should not go to NEWS (and I agree). But, right now the only way for non-members is to wait for someone who will put skip-news badge manually to turn the CI to be green. I don't think that precious time should be spent on that! 🙂

Otherwise, it is less-likely to get a review (because PR has this red cross as its status, some people might think that something is broken).
For new contributors this might be even more problematic.

Activity

  1. corona10 commented on Jan 8, 2022

    @corona10
  2. kumaraditya303 commented on Jan 9, 2022

    @kumaraditya303

    In my experience, skip-news label should also be added to type-documentation PRs as generally docs PRs don't require a news fragment.

  3. isidentical commented on Jan 9, 2022

    @isidentical
    SponsorMember

    Please see #363 for the previous discussion in this matter.

  4. ezio-melotti commented on Jun 5, 2022

    @ezio-melotti
    Member

    IMHO the opt-out model we currently have works well enough and makes the check more predictable. We could add custom rules for docs or tests, but they would have to be documented and there are cases where a NEWS entry is still required.

  5. DanielNoord commented on Jul 14, 2022

    @DanielNoord
    Contributor

    skip news is now automatically applied to all PRs that only have a docs label and don't already have a news item attached.

    We could also implement this for the tests label. Is this something we want to do? If so you can assign me and I'll prepare a PR.

  6. ezio-melotti commented on Jul 15, 2022

    @ezio-melotti
    Member

    This might come in handy for python/cpython#94808

  7. AA-Turner commented on Aug 12, 2025

    @AA-Turner
    Member

    Closing, stale.

  8. hugovk commented on Oct 18, 2025

    @hugovk
    Member
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    labelsIssues related to GitHub label changes

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions