
Built-in Actions on Enterprise Server
When you set up GitHub Enterprise Server, it pre-bundles a snapshot of core Marketplace actions—such as Checkout and upload/download artifact actions. You can browse these on your instance:actions organization, complete with tags, branches, and commits.
Pre-bundled actions are static snapshots captured at installation time. If you need newer versions or third-party actions, use one of the methods below.
Handling External Action Dependencies
Imagine a workflow requiring:actions/checkout@v2(pre-bundled)[email protected](not pre-bundled)
[email protected] can’t be fetched. You have two options:
| Method | Description | Ideal for |
|---|---|---|
| GitHub Connect | Integrates Enterprise Server with GitHub.com, allowing approved Marketplace actions. | Seamless access with policy controls |
| actions-sync | CLI tool to download and import specific action versions into your Enterprise Server. | Air-gapped environments or tight control |
Option 1: GitHub Connect
GitHub Connect links your Enterprise Server to GitHub Enterprise Cloud. Once enabled, workflows can reference all Marketplace actions while you enforce Action Policies to approve or block specific actions.After configuring GitHub Connect, approved public actions resolve automatically without additional steps.
Option 2: Selective Sync with actions-sync
For air-gapped or highly controlled environments, use theactions-sync CLI to pull and import only the action versions you need.
-
Install
actions-sync. -
Sync an action version:
-
Reference the synced action in your workflow:
Always pin to a specific version when syncing with
actions-sync. This prevents unintended updates and maintains workflow stability.