Skip to main content

监控您当前的作业

监控 GitHub 托管的运行器如何处理组织或企业中的作业,并了解任何相关约束。

查看组织或企业中的活动作业

您可以获取当前在组织或企业中 GitHub 托管的运行器上运行的所有作业列表。

  1. Navigate to your runner settings:

    • In an organization or repository: Navigate to the main page, then click Settings.
    • If using an enterprise account: Navigate to your enterprise account by clicking your profile photo in the top-right corner of GitHub.com, then clicking Your enterprises, then clicking the enterprise.
  2. 导航到 GitHub Actions 设置:

    • In an organization or repository: Click Actions in the left sidebar, then click Runners.
    • If using an enterprise account: In the left sidebar, click " Policies", then click Actions, then click the Runners tab.
  3. In the "Runners" table, click the entry for GitHub-hosted runners. This entry will only be present if you're using GitHub-hosted runners.

  4. 查看“Active jobs(活动作业)”部分,其中包含当前在 GitHub 托管的运行器上运行的所有作业列表。

    活动作业列表的屏幕截图

查看组织或企业中排队的作业

GitHub 托管的运行器允许您并发运行作业,并且并发作业的最大数量将根据您的计划而有所不同。 如果达到最大并发作业数,则任何新作业都将开始进入队列。 若要了解有关计划可用的并发作业数的详细信息,请参阅“使用限制、计费和管理”。

以下过程演示如何检查可以运行的最大并发作业数。

  1. Navigate to your runner settings:

    • In an organization or repository: Navigate to the main page, then click Settings.
    • If using an enterprise account: Navigate to your enterprise account by clicking your profile photo in the top-right corner of GitHub.com, then clicking Your enterprises, then clicking the enterprise.
  2. 导航到 GitHub Actions 设置:

    • In an organization or repository: Click Actions in the left sidebar, then click Runners.
    • If using an enterprise account: In the left sidebar, click " Policies", then click Actions, then click the Runners tab.
  3. In the "Runners" table, click the entry for GitHub-hosted runners. This entry will only be present if you're using GitHub-hosted runners.

  4. 查看“All jobs usage(所有作业使用情况)”部分,其中列出了活动作业数和可以运行的最大作业数。 在此示例中, 9 个作业正在运行,最大作业数为 180帐户的最大作业数屏幕截图