Soumitra Dutta-How do I install a GitHub App on an organization? #203097
Replies: 3 comments
|
Org owners can install directly. Repo admins can install apps that don't ask for org-level or repository-administration permissions, and only if the org hasn't turned that off. Everyone else gets a Request button instead, which sends it to the owners for approval. The flow itself:
Same place to change repo access later: Configure next to the app → Repository access → Save. Suspend cuts its access temporarily, Uninstall removes it. To see what's already installed: gh api /orgs/YOUR-ORG/installations \
--jq '.installations[] | {app_slug, target_type, repository_selection}'{"app_slug":"renovate","target_type":"Organization","repository_selection":"selected"}You have to be an owner for that call. Worth knowing: it 404s rather than 403s when your token is short on scopes, which is confusing the first time. The headers tell you what it wanted:
A few things that catch people out:
Docs: installing a GitHub App from a third party and reviewing and modifying installed GitHub Apps. |
|
I recently installed a GitHub App on an organisation, and one thing I learned is to double-check the permissions before installing. Also, make sure you're signed in with an account that has Organization Owner access, otherwise the installation can fail or some options won't appear. If everything looks correct but you're still having trouble, could you share the exact error or where the installation gets stuck? That would make it much easier for others to help. Hope you get it working soon! |
Uh oh!
There was an error while loading. Please reload this page.
🏷️ Discussion Type
Bug
💬 Feature/Topic Area
API
Body
Hi Everyone, My name is Soumitra Dutta , I'm oxford based an Entrepreneur, Author & Photographer. I’m trying to install a GitHub App on an organization and would appreciate your suggestions.
What is the recommended process for installing a GitHub App on an organization? Are there any specific permissions, settings, or common issues I should check before installation?
If you have experience managing GitHub Apps for organizations, I’d appreciate any tips or best practices you can share.
Regards
Soumitra Dutta
All reactions