ノート: GitHubホストランナーは、現在GitHub Enterprise Serverでサポートされていません。 GitHubパブリックロードマップで、計画されている将来のサポートに関する詳しい情� �を見ることができます。
About actions on GitHub Enterprise Server
GitHub Actions workflows can use actions, which are individual tasks that you can combine to create jobs and customize your workflow. You can create your own actions, or use and customize actions shared by the GitHub community.
GitHub Actions on GitHub Enterprise Server is designed to work in environments without full internet access. By default, workflows cannot use actions from GitHub.com and GitHub Marketplace.
Official actions bundled with your enterprise instance
ほとんどの公式の GitHub 作成のアクションは自動的に GitHub Enterprise Server にバンドルされ、GitHub Marketplace からある時点でキャプチャされます。
The bundled official actions include actions/checkout
, actions/upload-artifact
, actions/download-artifact
, actions/labeler
, and various actions/setup-
actions, among others. To see all the official actions included on your enterprise instance, browse to the actions
organization on your instance: https://HOSTNAME/actions
.
Each action is a repository in the actions
organization, and each action repository includes the necessary tags, branches, and commit SHAs that your workflows can use to reference the action. For information on how to update the bundled official actions, see "Using the latest version of the official bundled actions."
Note: When using setup actions (such as actions/setup-LANGUAGE
) on GitHub Enterprise Server with self-hosted runners, you might need to set up the tools cache on runners that do not have internet access. For more information, see "Setting up the tool cache on self-hosted runners without internet access."
Configuring access to actions on GitHub.com
Before you can configure access to actions on GitHub.com, you must configure your GitHub Enterprise Server instance to use GitHub Actions. For more information, see "Getting started with GitHub Actions for GitHub Enterprise Server."
Enterprise のユーザが GitHub.com または GitHub Marketplace からの他のアクションにアクセスする必要がある� �合、いくつかの設定オプションがあります。
The recommended approach is to enable automatic access to all actions from GitHub.com. You can do this by using GitHub Connect to integrate GitHub Enterprise Server with GitHub Enterprise Cloud. For more information, see "Enabling automatic access to GitHub.com actions using GitHub Connect".
GitHub Connectを有効化した後は、Enterprise内のリポジトリでどのパブリックなアクションが使えるかを制限するポリシーが利用できます。 詳しい情� �については、「Enterprise に GitHub Actions のポリシーを施行する」を参照してく� さい。
Alternatively, if you want stricter control over which actions are allowed in your enterprise, you can manually download and sync actions onto your enterprise instance using the actions-sync
tool. For more information, see "Manually syncing actions from GitHub.com."