Prerequisites
警告: サポートされているS3のストレージプロバイダは、Amazon S3とMinIO Gateway for NASのみです。 他のS3 API互換ストレージプロバイダはサポートされていません。 サポートされているストレージプロバイダに関する詳しい情報については「GitHub Enterprise ServerのためのGitHub Actionsの利用を始める」を参照してください。
Before enabling GitHub Actions, make sure you have completed the following steps:
-
Create your Amazon S3 bucket for storing artifacts generated by workflow runs. GitHub Actionsは、バケットにアクセスするアクセスキーのために以下の権限を必要とします。
s3:PutObjects3:GetObjects3:ListBucketMultipartUploadss3:ListMultipartUploadPartss3:AbortMultipartUploads3:DeleteObjects3:ListBucketkms:GenerateDataKey(if Key Management Service (KMS) encryption has been enabled)
-
Review the hardware requirements for GitHub Actions. For more information, see "Getting started with GitHub Actions for GitHub Enterprise Server."
-
TLS must be configured for your GitHub Enterprise Server instance's domain. For more information, see "Configuring TLS."
Note: 信頼された認証局によって署名された証明書でGitHub Enterprise Server上のTLSを設定することを強くおすすめします。 自己署名証明書でも動作はしますが、セルフホストランナーに追加の設定が必要になり、プロダクションの環境では推奨されません。
-
your GitHub Enterprise Server instanceでHTTPプロキシサーバーを設定しているなら、HTTPプロキシの除外リストに
localhostと127.0.0.1を追加しなければなりません。 プロキシの設定変更に関する詳しい情報については「アウトバウンドのWebプロキシサーバーの設定」を参照してください。
Enabling GitHub Actions with Amazon S3 storage
-
From an administrative account on GitHub Enterprise Server, in the upper-right corner of any page, click .

-
If you're not already on the "Site admin" page, in the upper-left corner, click Site admin.

-
左のサイドバーでManagement Consoleをクリックしてください。

-
サイドバーでActions(アクション)をクリックしてください。

-
Enable GitHub Actions(GitHub Actionsの有効化)を選択してください。

-
Under "Artifact & Log Storage", select Amazon S3, and enter your storage bucket's details:
-
AWS Service URL: The service URL for your bucket. For example, if your S3 bucket was created in the
us-west-2region, this value should behttps://s3.us-west-2.amazonaws.com.For more information, see "AWS service endpoints" in the AWS documentation.
-
AWS S3 Bucket: The name of your S3 bucket.
-
AWS S3 Access Key and AWS S3 Secret Key: The AWS access key ID and secret key for your bucket. For more information on managing AWS access keys, see the "AWS Identity and Access Management Documentation."

-
-
左のサイドバーの下でSave settings(設定の保存)をクリックしてください。
![Management Console での [Save settings] ボタン](/web/20220126061612im_/http://docs.github.com/assets/cb-12124/images/enterprise/management-console/save-settings.png)
-
設定が完了するのを待ってください。
Next steps
After the configuration run has successfully completed, GitHub Actions will be enabled on your GitHub Enterprise Server instance. For your next steps, such as managing GitHub Actions access permissions and adding self-hosted runners, return to "Getting started with GitHub Actions for GitHub Enterprise Server."