Skip to content

Automatically add "type-security" to pull requests with CVE in news entry #727

Closed

Description

@sethmlarson

Blurb added a new cve option in python/blurb#95, Bedevere can now look for this option in a news entry and add the type-security label to pull requests with a CVE associated.

Activity

  1. brettcs commented on Nov 10, 2026

    @brettcs
    Contributor

    In the current code all PR classification is based on filenames in the diff. Would it meet the need to add type-security to every PR that touches a file under Misc/NEWS.d/next/Security? If the answer is yes then this is very easy. If the answer is no then it's not hard, the data we need is available at classification time, it just requires building and reworking some plumbing around the classifier.

  2. sethmlarson commented on Nov 10, 2026

    @sethmlarson
    Author

    That would be a decent way to handle this I think! Maybe we can add a double-check in blurb then that anything with .. cve: is in Security? cc @StanFromIreland

  3. StanFromIreland commented on Nov 10, 2026

    @StanFromIreland
    Member

    Maybe we can add a double-check in blurb then that anything with .. cve: is in Security?

    That's already partly done, we don't allow .. cve: in sections other than Security.

  4. added a commit that references this issue on Nov 10, 2026
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

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions