Skip to content

Include/exclude by topic or tag #107

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
mikebell90 opened this issue Dec 3, 2024 · 1 comment · Fixed by #121
Closed

Include/exclude by topic or tag #107

mikebell90 opened this issue Dec 3, 2024 · 1 comment · Fixed by #121
Assignees
Labels
enhancement New feature or request

Comments

@mikebell90
Copy link

It's nice to be able use say a github topic to include/exclude

@brendan-kellam brendan-kellam added the enhancement New feature or request label Dec 3, 2024
@brendan-kellam
Copy link
Contributor

Heya - yea I could see this fitting into the config as something like the following:

{
    "$schema": "./schemas/v2/index.json",
    "repos": [
        {
            "type": "github",
            // Include repositories that have at least one of the following topics.
            "topics": [
                "topic-1",
                "topic-2"
            ],
            "exclude": {
                // Exclude repositories that have at least one of the following topics.
                "topics": [
                    "topic-3"
                ]
            }
        }
    ]
}

// result: index repositories that have either topic-1 or topic-2 (or both) and do not have topic-3

GitLab has the same concept, so we could support it there as well.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants