Skip to main content

Getting started with GitHub Actions for GitHub Enterprise Cloud

Learn how to configure GitHub Actions on GitHub Enterprise Cloud.

Enterprise owners can configure GitHub Actions.

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”。

如果要将企业迁移到来自其他提供商的 GitHub Actions,还有其他注意事项。 更多信息请参阅“将企业迁移到 GitHub Actions”。

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 "Enforcing GitHub Actions policies for your enterprise."

Adding runners

To run GitHub Actions workflows, you need to use runners. 运行器是在触发工作流程时运行工作流程的服务器。 If you use GitHub-hosted runners, you will be be billed based on consumption after exhausting the minutes included in GitHub Enterprise Cloud, while self-hosted runners are free. For more information, see "About billing for GitHub Actions."

For more information, see "About self-hosted runners."

If you choose self-hosted runners, you can add runners at the enterprise, organization, or repository levels. For more information, see "Adding self-hosted runners."

GitHub Actions 的一般安全性增强

如需了解有关 GitHub Actions 安全实践的更多信息,请参阅“GitHub Actions 的安全性增强”。