Skip to main content

Usage limits, billing, and administration

There are usage limits for GitHub Actions workflows. Usage charges apply to repositories that go beyond the amount of free minutes and storage for a repository.

About billing for GitHub Actions

GitHub Actionsは、コードを保存するのと同じ場所でソフトウェア開発のワークフローを自動化し、プルリクエストやIssueで��力することを支援します。 個々のタスクを書き、アクションを呼び出し、それらを組み合わせてカスタムのワークフローを作成できます。 For more information, see "GitHub Actions を理解する."

GitHub Actions の使用は、パブリック リポジトリの標準の GitHub ホステッド ランナーとセルフホステッド ランナーの場合は無料です。 プライベート リポジトリの場合、アカウントのプランに応じて、GitHub ホステッド ランナーでの使用を対象として、一定量の無料の使用時間 (分) とストレージが各 GitHub アカウントに付与されます。 含まれる量を超える使用は、使用制限によって制御されます。 For more information, see "GitHub Actions の課金について."

Availability

GitHub Actions is available on all GitHub products, but GitHub Actions is not available for private repositories owned by accounts using legacy per-repository plans. 詳しくは、「GitHub のプラン」をご覧ください。

Usage limits

There are some limits on GitHub Actions usage when using GitHub-hosted runners. These limits are subject to change.

Note: For self-hosted runners, different usage limits apply. For more information, see "セルフホステッド ランナーの概要."

  • Job execution time - Each job in a workflow can run for up to 6 hours of execution time. If a job reaches this limit, the job is terminated and fails to complete.

  • ワークフローの実行時間 - 各ワークフローの実行は 35 日までに制限されます。 ワークフローの実行がこの制限に達すると、そのワークフローの実行はキャンセルされます。 この期間には、実行時間と、待機と承認に費やされた時間が含まれます。

  • API 要求 - 1 つのリポジトリの全アクションで 1 時間に実行できる GitHub API への要求は、最大 1,000 です。 要求超過になると、それ以上の API 呼び出しは失敗し、それによってジョブが失敗する可能性があります。

  • Concurrent jobs - The number of concurrent jobs you can run in your account depends on your GitHub plan, as well as the type of runner used. If exceeded, any additional jobs are queued.

    Standard GitHub-hosted runners

    GitHub planTotal concurrent jobsMaximum concurrent macOS jobs
    Free205
    Pro405
    Team605
    Enterprise50050

    GitHub-hosted より大きなランナーs

    GitHub planTotal concurrent jobsMaximum concurrent macOS jobsMaximum concurrent GPU jobs
    Team10005100
    Enterprise100050100

    Notes:

    • If required, customers on enterprise plans can request a higher limit for concurrent jobs. For more information, contact us through the GitHub Support ポータル, or contact your sales representative.
    • The maximum concurrent macOS jobs is shared across standard GitHub-hosted runner and GitHub-hosted より大きなランナーs.
  • Job matrix - ジョブマトリックスは、ワークフローの実行ごとに最大で256のジョブを生成できます。 この制限は、GitHub ホスト ランナーとセルフホステッド ランナーの両方に適用されます。

  • ワークフロー実行キュー - リポジトリあたり 10 秒間隔で 500 を超えるワークフロー実行をキューに入れることはできません。 ワークフローの実行がこの制限に達すると、そのワークフローの実行は終了させられ、完了に失敗します。

Usage policy

In addition to the usage limits, you must ensure that you use GitHub Actions within the GitHub Terms of Service. For more information on GitHub Actions-specific terms, see the GitHub Additional Product Terms.

GitHub Actions usage metrics

Note

GitHub Actions 使用状況メトリックはベータ版であり、変更される可能性があります。

If you are on a GitHub Enterprise Cloud plan, organization owners and users with the "View organization Actions usage metrics" permission can view GitHub Actions usage metrics for their organization. These metrics can help understand how and where your Actions minutes are being used. For more information, see "GitHub Actions の使用状況メトリックの表示."

When you view usage metrics, it is important to remember that GitHub Actions 使用状況メトリックは、表示されるメトリクスに分の乗数を適用しません。 __ 使用状況メトリックは請求書を理解するのに役立ちますが、主な目的は、組織内で Actions minutes (分単位の利用時間) が何に使われているのかや、使われている場所を把握できるようにすることです。

分の乗数についての詳細は、「GitHub Actions の課金について」を参照してください。

Billing for reusable workflows

If you reuse a workflow, billing is always associated with the caller workflow. Assignment of GitHub-hosted runners is always evaluated using only the caller's context. The caller cannot use GitHub-hosted runners from the called repository.

For more information see, "ワークフローの再利用."

Artifact and log retention policy

You can configure the artifact and log retention period for your repository, organization, or enterprise account.

デフォルトでは、ワークフローによって生成された成果物とログファイルは、90日間保持された後自動的に削除されます。 保持期間は、リポジトリの種類によって調整できます。

  • パブリックリポジトリの場合: この保持時間を1日から90日の間で変更できます。
  • プライベートのリポジトリの場合: この保持期間を 1 から 400 日の間で変更できます。

保持期間をカスタマイズした場合、適用されるのは新しい成果物とログファイルに対してであり、既存のオブジェクトにさかのぼっては適用されません。 管理されたリポジトリ及びOrganizationについては、最大の保持期間は管理するOrganizationあるいはEnterpriseによって設定された上限を超えることはできません。

For more information, see:

Disabling or limiting GitHub Actions for your repository or organization

既定では、GitHub Actions はすべてのリポジトリと組織で有効になります。 GitHub Actions を無効にするか、または Organization のアクションと再生可能なワークフローに制限することができます。

For more information, see:

Disabling and enabling workflows

You can enable and disable individual workflows in your repository on GitHub.

不必要なワークフローの実行を避けるために、スケジュールされたワークフローは自動的に無効化できます。 パブリックリポジトリがフォークされると、スケジュールされたワークフローはデフォルトで無効化されます。 パブリックリポジトリでは、60日間にリポジトリにアクティビティがなかった場合、スケジュールされたワークフローは自動的に無効化されます。

For more information, see "ワークフローの無効化と有効化."