[go: up one dir, main page]

We use cookies to understand how people use Depot.
GitHub Actions

Quickstart for GitHub Actions runners

Connect your Depot organization to GitHub and configure your GitHub Actions to use Depot managed runners.

Connect to GitHub

To configure Depot GitHub Action Runners, connect to your GitHub organization and install the Depot GitHub App:

  1. Log in to your Depot dashboard.
  2. Click GitHub Actions.
  3. Click Connect to GitHub.
    The install form opens in GitHub.
  4. Install or install and authorize the Depot app.

Private repository approval

Some GitHub organizations require an Organization Administrator to approve the new Depot GitHub app before jobs can run on Depot runners. To confirm the app is active and approved:

  1. Log in to your Depot dashboard.
  2. Click Settings.
  3. In the GitHub Actions runners section, view GitHub Connections.

Public repository permissions

If you're using Depot runners with public repositories, update your Actions runner group to allow runners to be used in public repositories. In the Actions > Runner groups section in your GitHub organization settings, select Allow public repositories.

Allow runners to be used in public repositories

Configure your GitHub Actions workflow

Depot supports a variety of runner types and sizes, including Intel and Arm runners with up to 64 CPUs. For a full list of available labels, see the runner type docs.

To configure your GitHub Actions to use Depot runners, specify the runner label in your workflow YAML file under .github/workflows/:

jobs:
  build:
    name: Build
-    runs-on: ubuntu-22.04
+    runs-on: depot-ubuntu-22.04
    steps:
      ...

View GitHub Actions jobs

To view jobs that have run on Depot runners, go to the GitHub Actions section of your Depot dashboard.

View GitHub Actions jobs

View GitHub Actions usage

To view your GitHub Actions usage, go to the Usage section of your Depot dashboard. Usage details include the following:

  • number of jobs
  • total job time
  • successes and errors
  • build time

View GitHub Actions usage