This version of GitHub Enterprise will be discontinued on 2022-02-16. No patch releases will be made, even for critical security issues. For better performance, improved security, and new features, upgrade to the latest version of GitHub Enterprise. For help with the upgrade, contact GitHub Enterprise support.

Enabling automatic access to actions using GitHub Connect

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

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

Note: GitHub-hosted runners are not currently supported on GitHub Enterprise Server. You can see more information about planned future support on the GitHub public roadmap.

About automatic access to actions

By default, GitHub Actions workflows on GitHub Enterprise Server cannot use actions directly from or GitHub Marketplace.

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

To use actions from, your self-hosted runners must be able to download public actions from

Enabling automatic access to all actions

Note: With GitHub Connect enabled, GitHub Actions will try to find the repository on your GitHub Enterprise Server instance first before falling back to 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.

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

  1. In the top-right corner of GitHub Enterprise Server, click your profile photo, then click Enterprise settings. "Enterprise settings" in drop-down menu for profile photo on GitHub Enterprise Server

  2. In the enterprise account sidebar, click Settings. Settings tab in the enterprise account sidebar

  3. In the left sidebar, click GitHub Connect. GitHub Connect tab in the business account settings sidebar

  4. Under "Server can use actions from in workflows runs", use the drop-down menu and select Enabled. Drop-down menu to actions from in workflows runs

  5. 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

Or, learn how to contribute.