Skip to content
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

button to disable forks #46

Open
asottile opened this issue Mar 22, 2021 · 9 comments
Open

button to disable forks #46

asottile opened this issue Mar 22, 2021 · 9 comments
Labels
enhancement New feature or request

Comments

@asottile
Copy link
Member

github makes it really easy to opt into all of the repositories, but no good way to opt out / filter from there

add a button to the UI which will purge all forked repos

@asottile asottile added the enhancement New feature or request label Mar 22, 2021
@asottile
Copy link
Member Author

CC @RonnyPfannschmidt

@asottile
Copy link
Member Author

so there isn't an api for this, I asked github about it and they said they'll "forward this along to the team" 😭

@RonnyPfannschmidt
Copy link

@asottile can you flag repos based on whether or not they are forks of pre-commit manged repos at least? also "yay github"

@asottile
Copy link
Member Author

detecting is easy, but there's no api to do anything about it sadly

@RonnyPfannschmidt
Copy link

so youd have to "cancel" runs ? i didnt tig into the api myself, just wonder if this would be handle able on the pre-commit side

@asottile
Copy link
Member Author

the github app model is to leave all that management to github's side and not to do it in your app (I'm not about to rebuild all the repository management)

it's not cost efficient either as I'd still receive all the web hooks for the extraneously installed repos

@RonnyPfannschmidt
Copy link

Yikes

@janosh
Copy link

janosh commented Jan 4, 2022

You could mention this issue in the pre.commit.ci@gmail.com feature rollup and ask people who'd like this feature to come upvote this issue. Might increase the chance that GH takes the time to implement a filter repos API.

@asottile
Copy link
Member Author

asottile commented Jan 4, 2022

voting this issue does not help -- pre-commit-ci is a tiny project

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

No branches or pull requests

3 participants