此版本的 GitHub Enterprise 已停止服务 2021-09-23. 即使针对重大安全问题,也不会发布补丁。 要获得更好的性能、改进的安全性和新功能,请升级到 GitHub Enterprise 的最新版本。 如需升级方面的帮助,请联系 GitHub Enterprise 支持

挂起 GitHub 应用程序安装

通过挂起应用程序,您可以暂时阻止 GitHub 应用程序 访问您帐户的资源。

挂起 GitHub 应用程序

拥有和维护 GitHub 应用程序的集成者(也称为 GitHub 应用程序所有者)可以使用具有 JWT 的 REST API 端点来挂起或取消挂起 GitHub 应用程序安装设施。 更多信息请参阅“GitHub 应用程序 REST API”。

安装 GitHub 应用程序的人(也称为安装设施所有者)只能通过其应用程序的安装设置来挂起或取消挂起 GitHub 应用程序。 安装设施所有者不能使用 API 来挂起或取消挂起其应用程序安装设施。

If an installation has been suspended by the GitHub 应用程序 owner, installation owners cannot unsuspend their installations of the GitHub 应用程序. However, installation owners can change other settings, such as repository selection, while the app is suspended.

  1. 在任何页面的右上角,单击您的个人资料照片,然后单击 Settings(设置)用户栏中的 Settings 图标
  2. 在左侧边栏中,单击 Developer settingsDeveloper settings 部分
  3. 在左侧边栏中,单击 GitHub Apps(GitHub 应用程序)GitHub Apps 部分
  4. 选择要暂停的 GitHub 应用程序 。 应用程序选择
  5. 在左侧边栏中,单击 Advanced(高级)Advanced(高级)选项卡
  6. 在安装设施的挂起设置旁边,单击 Suspend(挂起)Unsuspend(取消挂起)挂起 GitHub 应用程序