Skip to content

[GitHub] Add exclude.size property to the config - #137

Merged
brendan-kellam merged 3 commits into
mainfrom
bkellam/gh_size_constraints
Dec 17, 2024
Merged

brendan-kellam merged 3 commits into
mainfrom
bkellam/gh_size_constraints

Conversation

@brendan-kellam

Copy link
Copy Markdown
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
@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