Github App installation into one repo #24388
-
Hello, My app can’t be installed into multiple repository… OR it would be very bad to allow my app to be installed on all the repository of the user. Is there a way to add such a restriction? Thank you. |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 1 reply
-
👋 @olivierodo! There’s no way to restrict installation of your App to particular repositories via the App’s settings. What’s the use-case for this? Is there a specific repository that your App should be installed on? Or is this something to do with billing your users for the number of repositories they install? |
Beta Was this translation helpful? Give feedback.
-
Hello, Thank you for your reply, my app should help the user to setup some base practices for testing. |
Beta Was this translation helpful? Give feedback.
-
Interesting. So you need some way for a user to indicate that they want your App to operate on a specific repository, even though they may have installed the App on all their repos. 🤔 I’m guessing you already request repository contents write permission, so maybe the trigger for your App could be the user committing a configuration file in their repository (For example, GitHub Actions are initially triggered when you upload YAML files to the You could listen for the |
Beta Was this translation helpful? Give feedback.
👋 @olivierodo!
There’s no way to restrict installation of your App to particular repositories via the App’s settings.
What’s the use-case for this? Is there a specific repository that your App should be installed on? Or is this something to do with billing your users for the number of repositories they install?