Skip to main content

Cette version de GitHub Enterprise Server n'est plus disponible depuis le 2024-09-25. Aucune publication de correctifs n’est effectuée, même pour les problèmes de sécurité critiques. Pour de meilleures performances, une sécurité améliorée et de nouvelles fonctionnalités, effectuez une mise à niveau vers la dernière version de GitHub Enterprise. Pour obtenir de l’aide sur la mise à niveau, contactez le support GitHub Enterprise.

Partage de votre application GitHub

Vous pouvez partager votre GitHub App avec d’autres utilisateurs.

  1. In the upper-right corner of any page on GitHub, click your profile photo.

  2. Navigate to your account settings.

    • For an app owned by a personal account, click Settings.
    • For an app owned by an organization:
      1. Click Your organizations.
      2. To the right of the organization, click Settings.
  3. In the left sidebar, click Developer settings.

  4. In the left sidebar, click GitHub Apps.

  5. Next to the GitHub App that you want to share, click Edit.

  6. Click Public page. GitHub will bring you to the public page for your GitHub App.

  7. Click Install. GitHub will bring you to the installation URL for your GitHub App. The URL will look something like http(s)://HOSTNAME/github-apps/APP-NAME/installations/new, where APP-NAME is the name of the GitHub App.

  8. Share the installation URL with other users. For more information about how users can install your app from this URL, see Installing a GitHub App from a third party.

    When you share the URL, you can include a state query parameter in the installation URL to preserve the state of the application page and return people back to that state after they install, authenticate, or accept updates to your GitHub App. For example, you could use the state to correlate an installation to a user or account.

    To preserve a state, add it to the installation URL: http(s)://HOSTNAME/github-apps/<app name>/installations/new?state=AB12t

Sharing your GitHub App with GitHub Enterprise Server instances

If you want to share your GitHub App with GitHub Enterprise Server instances that you are not part of, you need to take additional steps. For more information, see Making your GitHub App available for GitHub Enterprise Server.