Enabling automatic access to GitHub.com actions using GitHub Connect

To allow GitHub Actions in your enterprise to use actions from GitHub.com, you can connect your enterprise instance to GitHub Enterprise Cloud.

Site administrators for GitHub Enterprise who are also owners of the connected GitHub Enterprise Cloud organization or enterprise account can enable access to all GitHub.com actions.

Note: GitHub-hosted runners are not currently supported on Servidor de GitHub Enterprise. You can see more information about planned future support on the Itinerario público de GitHub.

Note: With GitHub Connect enabled, GitHub Actions will try to find the repository on your Servidor de GitHub Enterprise instance first before falling back to GitHub. If a user creates an organization and repository in your enterprise that matches an organization and repository name on GitHub, the repository on your enterprise will be used in place of the GitHub repository. A malicious user could take advantage of this behavior to run code as part of a workflow.

By default, GitHub Actions workflows on GitHub Enterprise cannot use actions directly from GitHub.com or Mercado GitHub.

To make all actions from GitHub.com available on your enterprise instance, you can use GitHub Connect to integrate GitHub Enterprise with GitHub Enterprise Cloud. For other ways of accessing actions from GitHub.com, see "About using actions in your enterprise."

Enabling automatic access to all GitHub.com actions

Before enabling access to all actions from GitHub.com on your enterprise instance, you must connect your enterprise to GitHub.com. For more information, see "Connecting Servidor de GitHub Enterprise to GitHub Enterprise Cloud."

  1. Visita la cuenta de tu empresa en https://github.com/enterprises/ENTERPRISE-NAME, reemplazando ENTERPRISE-NAME por el nombre de la cuenta de tu empresa.1. En la barra lateral izquierda, haz clic en GitHub Connect. Pestaña GitHub Connect en la barra lateral de parámetros de la cuenta de empresa
  2. Under "Server can use actions from GitHub.com in workflows runs", use the drop-down menu and select Enabled. Drop-down menu to actions from GitHub.com in workflows runs
  3. After you enable GitHub Connect, you can use policies to restrict which public actions can be used in repositories in your enterprise. For more information, see "Enforcing GitHub Actions policies for your enterprise."

Did this doc help you?Privacy policy

Help us make these docs great!

All GitHub docs are open source. See something that's wrong or unclear? Submit a pull request.

Make a contribution

O, learn how to contribute.