# 課金と使用

GitHub Actionsワークフローには使用制限があります。 使用料は、リポジトリの無料の時間とストレージの量を超えるリポジトリに適用されます。

## GitHub Actionsの請求について

GitHub Actions の利用は、パブリック リポジトリの標準の GitHub ホストランナーおよびセルフホステッド ランナーでは無料です。 「[ジョブのランナーを選択する](/ja/enterprise-cloud@latest/actions/how-tos/write-workflows/choose-where-workflows-run/choose-the-runner-for-a-job#standard-github-hosted-runners-for-public-repositories)」を参照してください。 プライベート リポジトリの場合、各 GitHub アカウントは、アカウントのプランに応じて、 GitHubホストランナーで使用するための空き時間とストレージのクォータを受け取ります。 含まれる金額を超過すると、アカウントに課金されます。 詳細については、 [AUTOTITLE を](/ja/enterprise-cloud@latest/billing/concepts/product-billing/github-actions)参照してください。

## 可用性

GitHub Actions はすべての GitHub 製品で使用できますが、 GitHub Actions は、従来のリポジトリごとのプランを使用するアカウントが所有するプライベート リポジトリでは使用できません。 「[GitHubのプラン](/ja/enterprise-cloud@latest/get-started/learning-about-github/githubs-plans)」を参照してください。

## 使用制限とポリシー

GitHub Actionsホストランナーを使用する場合、GitHubの使用にはいくつかの制限があります。 「[アクションの制限](/ja/enterprise-cloud@latest/actions/reference/limits)」を参照してください。

使用制限に加えて、GitHub Actionsを[GitHub利用規約](/ja/site-policy/github-terms/github-terms-of-service)の範囲内で使用する必要があります。
GitHub Actions固有の用語の詳細については、[GitHub の追加の製品使用条件](/ja/site-policy/github-terms/github-terms-for-additional-products-and-features#actions)を参照してください。

## GitHub Actions 使用状況メトリック

"組織のアクション メトリックの表示" アクセス許可を持つ組織の所有者とユーザーは、組織 GitHub Actions 使用状況メトリックを表示できます。 これらのメトリックは、アクション分が使用されている方法と場所を理解するのに役立ちます。 詳しくは、「[GitHub Actions のメトリックをあなたの組織で表示する](/ja/enterprise-cloud@latest/organizations/collaborating-with-groups-in-organizations/viewing-github-actions-metrics-for-your-organization)」をご覧ください。

使用状況メトリックを表示する場合は、次の点に注意することが重要です。 GitHub Actions 使用状況メトリックは、表示されるメトリクスに分の乗数を適用しません。 Organization 内で Actions minutes (分単位の利用時間) がどのように、どこで使用されているかを把握できるようにするのが主な目的ですが、請求書の理解に役立つ\_可能性\_もあります。

分単位の乗数の詳細については、「[GitHub Actions の課金](/ja/enterprise-cloud@latest/billing/concepts/product-billing/github-actions#baseline-minute-costs)」を参照してください。

## 再利用可能なワークフローの課金

ワークフローを再利用する場合、課金は常に呼び出し元ワークフローに関連付けられます。 ホスト GitHubランナーの割り当ては、常に呼び出し元のコンテキストのみを使用して評価されます。 呼び出し元は、呼び出し先リポジトリの GitHub ホステッド ランナーを使用できません。

詳しくは、「[ワークフローを再利用する](/ja/enterprise-cloud@latest/actions/how-tos/reuse-automations/reuse-workflows)」を参照してください。

## 次のステップ

リポジトリ、組織、またはEnterprise アカウントのGitHub Actionsの使用状況と保持ポリシーを管理できます。 詳細については、以下を参照してください:

* [リポジトリのGitHub Actions設定の管理](/ja/enterprise-cloud@latest/repositories/managing-your-repositorys-settings-and-features/enabling-features-for-your-repository/managing-github-actions-settings-for-a-repository)
* [組織内のGitHub Actions成果物とログの保持期間の構成](/ja/enterprise-cloud@latest/organizations/managing-organization-settings/configuring-the-retention-period-for-github-actions-artifacts-and-logs-in-your-organization)
* [組織のGitHub Actionsの無効化または制限](/ja/enterprise-cloud@latest/organizations/managing-organization-settings/disabling-or-limiting-github-actions-for-your-organization)
* [企業でGitHub Actionsのポリシーを適用する](/ja/enterprise-cloud@latest/admin/enforcing-policies/enforcing-policies-for-your-enterprise/enforcing-policies-for-github-actions-in-your-enterprise)