Skip to main content

Getting started with GitHub Actions for GitHub Enterprise Cloud

Learn how to configure GitHub Actions on GitHub Enterprise Cloud.

About GitHub Actions on GitHub Enterprise Cloud

GitHub Actions is enabled for your enterprise by default. To get started using GitHub Actions within your enterprise, you can manage the policies that control how enterprise members use GitHub Actions and optionally add self-hosted runners to run workflows.

開始する前に、GitHub Actions をエンタープライズに導入する方法を計画する必要があります。 詳しくは、「企業への GitHub Actions の導入」をご覧ください。

Enterprise を別のプロバイダーから GitHub Actions に移行する場合は、追加の考慮事項があります。 詳しくは、「GitHub Actions への Enterprise の移行」をご覧ください。

Managing policies for GitHub Actions

You can use policies to control how enterprise members use GitHub Actions. For example, you can restrict which actions are allowed and configure artifact and log retention. For more information, see エンタープライズで GitHub Actions のポリシーを適用する.

Adding runners

To run GitHub Actions workflows, you need to use runners. ランナーは、ワークフローがトリガーされると実行されるサーバーです。 If you use GitHub-hosted runners, you will be billed based on consumption after exhausting the minutes included in your plan, whereas self-hosted runners are free. For more information, see GitHub Actions の課金について.

For more information, see 自己ホスト ランナーの概要.

If you choose self-hosted runners, you can add runners at the enterprise, organization, or repository levels. For more information, see 自己ホストランナーの追加.

Provisioning fine-grained permissions for GitHub Actions

Organization owners and users with the "Manage custom organization roles" permission can provision fine-grained permissions for users and teams in your organization. Provisioning fine-grained permissions for GitHub Actions allows you to practice the principle of least privilege to secure settings in your GitHub Actions CI/CD pipeline.

GitHub Actions の場合、Organization 内の個人またはチームに対して以下のいずれかのアクセス許可を有効にすることができます。

  • Organization のアクション ポリシーを管理: セルフホステッド ランナーの設定を除き、[アクション全般] 設定ページのすべての設定を管理するためのアクセス。
  • Organization ランナーとランナー グループを管理: GitHub でホストされるランナー、セルフホステッド ランナー、ランナー グループを作成および管理し、セルフホステッド ランナーを作成できる場所を制御するためのアクセス。
  • Organization のアクション シークレットを管理: アクションの Organization シークレットを作成および管理するためのアクセス。
  • Organization のアクション変数を管理: アクションの Organization 変数を作成および管理するためのアクセス。

For more information, see カスタム組織の役割の管理.

Next steps