This Space is the dispatcher half of jobs-actions: it receives GitHub Actions workflow_job webhooks and launches HF Jobs to execute them.
Open the Space in a browser to see the GitHub App webhook URL for this Space. It will look like:
https://YOUR-SPACE-SUBDOMAIN.hf.space/webhook
Set these as Space secrets (Settings → Variables and secrets):
| Variable | Purpose |
|---|---|
GH_APP_PRIVATE_KEY | PEM-encoded App private key. Newlines can be encoded as \n. |
GH_WEBHOOK_SECRET | Webhook secret you set on the GitHub App |
HF_TOKEN | HF token with write scope; used to dispatch Jobs |
Set these as regular Space variables:
| Variable | Purpose |
|---|---|
GH_APP_ID | Your GitHub App ID (number) |
HF_NAMESPACE | (optional) Namespace (user or org) under which jobs are launched & billed. Defaults to this Space's owner. |
RUNNER_IMAGE_CPU | (optional) Docker image for CPU jobs |
RUNNER_IMAGE_GPU | (optional) Docker image for GPU jobs |
JOB_TIMEOUT | (optional) Default per-job timeout, e.g. 1h |
See setup/SETUP.md for the full walkthrough.
GET / — setup landing page with the GitHub App webhook URLGET /healthz — liveness probePOST /webhook — GitHub App webhook (HMAC-signed)25 commits
This Space is the dispatcher half of jobs-actions: it receives GitHub Actions workflow_job webhooks and launches HF Jobs to execute them.
Open the Space in a browser to see the GitHub App webhook URL for this Space. It will look like:
https://YOUR-SPACE-SUBDOMAIN.hf.space/webhook
Set these as Space secrets (Settings → Variables and secrets):
| Variable | Purpose |
|---|---|
GH_APP_PRIVATE_KEY | PEM-encoded App private key. Newlines can be encoded as \n. |
GH_WEBHOOK_SECRET | Webhook secret you set on the GitHub App |
HF_TOKEN | HF token with write scope; used to dispatch Jobs |
Set these as regular Space variables:
| Variable | Purpose |
|---|---|
GH_APP_ID | Your GitHub App ID (number) |
HF_NAMESPACE | (optional) Namespace (user or org) under which jobs are launched & billed. Defaults to this Space's owner. |
RUNNER_IMAGE_CPU | (optional) Docker image for CPU jobs |
RUNNER_IMAGE_GPU | (optional) Docker image for GPU jobs |
JOB_TIMEOUT | (optional) Default per-job timeout, e.g. 1h |
See setup/SETUP.md for the full walkthrough.
GET / — setup landing page with the GitHub App webhook URLGET /healthz — liveness probePOST /webhook — GitHub App webhook (HMAC-signed)25 commits