Skip to content

Conversation

brendan-kellam
Copy link
Contributor

This PR adds the ability to exclude GitHub repositories based on their disk usage. E.g.,:

{
    "$schema": "./schemas/v2/index.json",
    "repos": [
        {
            "type": "github",
            "repos": [
                "sourcebot-dev/sourcebot"
            ],
            "exclude": {
                "size": {
                    "min": 16000, // 16 KB
                    "max": 1000000000 // 1GB
                }
            }
        }
    ]
}

@brendan-kellam brendan-kellam merged commit 0e9c829 into main Dec 17, 2024
3 checks passed
@brendan-kellam brendan-kellam deleted the bkellam/gh_size_constraints branch December 17, 2024 08:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant