Skip to content

Suggestion: Support include/exclude for topics #411

Open
@anderssonjohan

Description

@anderssonjohan

Prerequisites:

  • Is the functionality available in the GitHub UI? If so, please provide a link to information about the feature.

New Feature

Please describe the desired new functionality:

Originally posted by @martinm82 in #408 (comment)

Add support for alternative topics configuration where topics matching a given pattern can be excluded from delete operations. This allows other tools to create topics without having them deleted by safe-settings.

Example: The following config would keep the topic team-unicorn created by another tool or user.

topics:
  include:
    - probot
  exclude:
    - name: ^team-

Include can be used without specifying exclude in the config, while also supporting the current format:

topics:
  - probot

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions