---
title: "Migrating Your GitHub CI to Hugging Face Jobs"
description: "GitHub Actions jobs can run on Hugging Face Jobs by using a dispatcher Space and a GitHub App that receive `workflow_job.queued` webhooks."
url: "https://swe.quest/articles/migrating-your-github-ci-to-hugging-face-jobs-1982ddd33280cd0b"
canonical: "https://huggingface.co/blog/github-ci-hf-jobs"
source: "Hugging Face"
published: "2026-06-09"
difficulty: "medium"
kind: "How-to"
reading_minutes: 8
tags: ["ci-cd","serverless","developer-tools"]
---

# Migrating Your GitHub CI to Hugging Face Jobs

A post on [Hugging Face](https://swe.quest/sources/hugging-face.md), published 2026-06-09, 8 min read, How-to. Original: [https://huggingface.co/blog/github-ci-hf-jobs](https://huggingface.co/blog/github-ci-hf-jobs)

## Summary

GitHub Actions jobs can run on Hugging Face Jobs by using a dispatcher Space and a GitHub App that receive \`workflow\_job.queued\` webhooks. For any \`hf-jobs-\*\` runs-on label, the dispatcher mints a short-lived runner registration token and launches an ephemeral self-hosted runner on matching CPU or GPU hardware. Setup takes duplicating the dispatcher Space on cpu-upgrade (cpu-basic can sleep and leave jobs queued), creating the App, and a one-line runs-on change. For Trackio, a Playwright Docker image cut CPU CI from 1m40s to 1m10s, and a new T4 GPU suite runs in 45s for under a cent.

Written by swe.quest, not by the author.

**Difficulty:** Medium: assumes a working developer; shows how it is built or done

## Topics

- [CI/CD](https://swe.quest/tags/ci-cd.md) (Reliability & operations)
- [Serverless](https://swe.quest/tags/serverless.md) (Backend & APIs)
- [Developer tools](https://swe.quest/tags/developer-tools.md) (Engineering practices)

## Prerequisites

- GitHub Actions workflows ([easy posts on CI/CD](https://swe.quest/tags/ci-cd.md?difficulty=easy))
- Docker images ([easy posts on Containers](https://swe.quest/tags/containers.md?difficulty=easy))
- GitHub Apps and webhooks

## Keywords

Hugging Face Jobs, GitHub Actions, Trackio, jobs-actions, Hugging Face Spaces, Playwright, CUDA

## Related posts

- [How GitHub uses GitHub Actions and Actions larger runners to build and test GitHub.com](https://swe.quest/articles/how-github-uses-github-actions-and-actions-larger-runners-to-build-and-test-915368ba99ad3985.md): GitHub Engineering · 2023-09-26 · Medium · 8 min read · CI/CD, Developer productivity, Identity & auth, Scaling
  GitHub moved CI for GitHub.com to GitHub Actions on larger runners, peaking at about 4,500 concurrent 32-core runners, 15,000 jobs per hour and 150,000 cores.
- [Using GitHub Actions with Heroku Flow for additional Security Control](https://swe.quest/articles/using-github-actions-with-heroku-flow-for-additional-security-control-fea72ed977a6f5e4.md): Heroku Engineering · 2025-03-27 · Medium · 7 min read · CI/CD, Deployment, Security, Cloud platforms
  Because GitHub Orgs can't allowlist Heroku IP ranges, Heroku offers a sample pattern: a self-hosted GitHub Actions runner deployed as a Docker app in a Heroku Private Space with static outbound IPs, plus a Heroku Flow Action.
- [Using Github Actions with Railway](https://swe.quest/articles/using-github-actions-with-railway-5eb8da35bcdd7f7c.md): Railway · 2021-06-04 · Medium · 2 min read · CI/CD, Deployment
  Railway deployments can be driven from GitHub Actions instead of the built-in branch-push trigger by creating a project token, storing it as a repository secret (RAILWAY\_TOKEN), and running \`railway up --service=\<id\>\` inside the official Railway CLI container.
- [Monitor your CI performance using Sentry](https://swe.quest/articles/monitor-your-ci-performance-using-sentry-bda7e20d9e49dda7.md): Sentry · 2026-11-10 · Medium · 4 min read · CI/CD, Observability, Developer productivity
  Sentry's tracing model can represent GitHub Actions workflows as traces, with each job's steps as spans, so slow steps and run-to-run variance show up the same way they would for an API request.
- [Run AI workloads on any cloud, store on Hugging Face: zero-egress storage with SkyPilot](https://swe.quest/articles/run-ai-workloads-on-any-cloud-store-on-hugging-face-zero-egress-storage-with-595c5291113e315b.md): Hugging Face · 2026-07-07 · Medium · 8 min read · Storage systems, Cloud platforms, Model training, Cost optimization, ML platforms
  SkyPilot now supports Hugging Face Storage as a first-class backend (\`store: hf\`), so jobs on any of 20+ clouds, Kubernetes or on-prem can mount Hub buckets (read-write) or model/dataset repos (read-only) via an \`hf://\` URL and an existing \`HF\_TOKEN\`.

Browse: [Latest posts](https://swe.quest/index.md) · [Topics](https://swe.quest/tags.md) · [Sources](https://swe.quest/sources.md) · [Topic map](https://swe.quest/map.md) · [Site guide (llms.txt)](https://swe.quest/llms.txt)
