About billing for GitHub Actions
GitHub Actionsは、コードを保存するのと同じ場所でソフトウェア開発のワークフローを自動化し、プルリクエストやIssueで協力することを支援します。 個々のタスクを書き、アクションを呼び出し、それらを組み合わせてカスタムのワークフローを作成できます。 For more information, see Understanding GitHub Actions.
GitHub Actions の使用は、パブリック リポジトリの標準の GitHub ホステッド ランナーとセルフホステッド ランナーの場合は無料です。 「Choosing the runner for a job」を参照してください。 プライベート リポジトリの場合、各 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.
メモ
For self-hosted runners, different usage limits apply. For more information, see セルフホステッド ランナーの使用制限.
For more information about service rate limits, see Actions に関する制限.
Standard GitHub-hosted runners
GitHub plan | Total concurrent jobs | Maximum concurrent macOS jobs |
---|---|---|
Free | 20 | 5 |
Pro | 40 | 5 |
Team | 60 | 5 |
Enterprise | 500 | 50 |
GitHub-hosted より大きなランナーs
GitHub plan | Total concurrent jobs | Maximum concurrent macOS jobs | Maximum concurrent GPU jobs |
---|---|---|---|
Team | 1000 | 5 | 100 |
Enterprise | 1000 | 50 | 100 |
メモ
- 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
Organization owners and users with the "View organization Actions metrics" permission can view GitHub Actions usage metrics for their organization. These metrics can help you understand how and where your Actions minutes are being used. For more information, see Organization の 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, Reusing workflows.
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:
- リポジトリの GitHub Actions の設定を管理する
- Organization 内の GitHub Actions アーティファクトとログの保持期間を設定する
- エンタープライズで GitHub Actions のポリシーを適用する
Workflow run history retention policy
The workflow runs in a repository's workflow run history are retained for 400 days. After 400 days, workflow runs are archived. 10 days after archival, they are permanently deleted. The retention period for workflow runs cannot be modified. For more information, see Viewing workflow run history.
Disabling or limiting GitHub Actions for your repository or organization
既定では、GitHub Actions の後の GitHub Actions ですべてのリポジトリと組織で有効になります。 GitHub Actions を無効にするか、または Organization のアクションと再生可能なワークフローに制限することができます。
For more information, see:
- リポジトリの GitHub Actions の設定を管理する
- Organization について GitHub Actions を無効化または制限する
- エンタープライズで GitHub Actions のポリシーを適用する
Disabling and enabling workflows
You can enable and disable individual workflows in your repository on GitHub.
不必要なワークフローの実行を避けるために、スケジュールされたワークフローは自動的に無効化できます。 パブリックリポジトリがフォークされると、スケジュールされたワークフローはデフォルトで無効化されます。 パブリックリポジトリでは、60日間にリポジトリにアクティビティがなかった場合、スケジュールされたワークフローは自動的に無効化されます。
For more information, see Disabling and enabling a workflow.