pre-commit-ci / issues

public issues for https://pre-commit.ci
17 stars 4 forks source link

pre-commit autoupdate not running on forked repo #215

Closed injust closed 6 months ago

injust commented 6 months ago

I have a public, forked repo at injust/btd6-bot with pre-commit.ci enabled, but the weekly autoupdate isn't running.

Its .pre-commit-config.yaml is identical to two of my other public repos, and autoupdate is running on those. The only difference I can think of: this is a forked repo.

Runs for a repo that worked: https://results.pre-commit.ci/run/github/729879679/1716844489.kz3X3VB7RKaTsjZkwUUZsg and https://results.pre-commit.ci/run/github/729879679/1715822294.cafy9mOnTU-m912M7LDG4w.

I can't find anything I've misconfigured for injust/btd6-bot. Is there something special about forked repos that causes the autoupdate to not run?

asottile commented 6 months ago

public forks do not receive auto updates at all

injust commented 6 months ago

That's what I suspected, thanks for confirming.

Maybe worthwhile to add a blurb about that somewhere?

asottile commented 6 months ago

yeah I kept it a bit secret because it was discovered as an abuse vector (users were signing up with thousands and thousands of forks and ruining the fun for everyone else)

asottile commented 6 months ago

fwiw paid plans have fork support for autoupdate, but it's probably not worth a paid plan for just that