{
  "manifest_version": "1.0.0",
  "template": {
    "id": "344cc7af-0fe7-4f54-83c6-549da462c1e8",
    "slug": "github-actions-runner",
    "name": "Github Actions Runner",
    "description": "Runs your GitHub Actions workflow jobs on your own server",
    "url": "https://railway.com/deploy/github-actions-runner",
    "upstream": {
      "repo_url": "https://github.com/gridalpha/github-actions-runner-railway"
    }
  },
  "status": "unvalidated",
  "validated_at": null,
  "success_rate_30d": null,
  "services": [
    {
      "name": "runner",
      "source": {
        "repo": "https://github.com/gridalpha/github-actions-runner-railway"
      },
      "needs_volume": false,
      "http": false
    }
  ],
  "required_inputs": [
    {
      "key": "PORT",
      "service": "runner",
      "description": "Port serving the health endpoint",
      "secret": false,
      "strategy": "default",
      "default": "8080"
    },
    {
      "key": "GITHUB_PAT",
      "service": "runner",
      "description": "Token used to register the runner",
      "secret": false,
      "strategy": "ask_user"
    },
    {
      "key": "RUNNER_WORK",
      "service": "runner",
      "description": "Working directory for jobs",
      "secret": false,
      "strategy": "default",
      "default": "/home/runner/_work"
    },
    {
      "key": "GITHUB_SCOPE",
      "service": "runner",
      "description": "owner/repository, or owner for an org",
      "secret": false,
      "strategy": "ask_user"
    },
    {
      "key": "RUNNER_LABELS",
      "service": "runner",
      "description": "Labels runs-on matches against",
      "secret": false,
      "strategy": "default",
      "default": "self-hosted,linux,x64,railway"
    },
    {
      "key": "RUNNER_GROUP_ID",
      "service": "runner",
      "description": "Runner group ID, 1 is Default",
      "secret": false,
      "strategy": "default",
      "default": "1"
    },
    {
      "key": "RUNNER_EPHEMERAL",
      "service": "runner",
      "description": "Re-register before every job",
      "secret": false,
      "strategy": "default",
      "default": "true"
    },
    {
      "key": "RUNNER_NAME_PREFIX",
      "service": "runner",
      "description": "Prefix for the generated runner name",
      "secret": false,
      "strategy": "default",
      "default": "railway"
    },
    {
      "key": "RAILWAY_DOCKERFILE_PATH",
      "service": "runner",
      "description": "Dockerfile used to build the service",
      "secret": false,
      "strategy": "default",
      "default": "Dockerfile"
    },
    {
      "key": "RAILWAY_DEPLOYMENT_DRAINING_SECONDS",
      "service": "runner",
      "description": "Lets a running job finish on redeploy",
      "secret": false,
      "strategy": "default",
      "default": "900"
    }
  ],
  "deploy": {
    "mcp": {
      "server": "railway",
      "tool": "deploy_template",
      "args": {
        "template_code": "github-actions-runner"
      }
    },
    "cli": "railway deploy --template github-actions-runner",
    "api": {
      "method": "POST",
      "path": "/graphql/v2",
      "body": {
        "query": "mutation templateDeploy($input: TemplateDeployV2Input!) { templateDeployV2(input: $input) { projectId workflowId } }",
        "variables": {
          "input": {
            "templateId": "344cc7af-0fe7-4f54-83c6-549da462c1e8",
            "serializedConfig": {
              "buckets": {},
              "services": {
                "77823a66-50fe-4dee-a369-8464071bf4fe": {
                  "icon": "https://cdn.jsdelivr.net/gh/homarr-labs/dashboard-icons/svg/github-light.svg",
                  "name": "runner",
                  "deploy": {
                    "startCommand": null,
                    "healthcheckPath": null,
                    "restartPolicyType": "ON_FAILURE",
                    "restartPolicyMaxRetries": 10
                  },
                  "source": {
                    "repo": "https://github.com/gridalpha/github-actions-runner-railway",
                    "rootDirectory": null
                  },
                  "variables": {
                    "PORT": {
                      "isOptional": false,
                      "description": "Port serving the health endpoint",
                      "defaultValue": "8080"
                    },
                    "GITHUB_PAT": {
                      "isOptional": false,
                      "description": "Token used to register the runner",
                      "defaultValue": "{{GITHUB_PAT}}"
                    },
                    "RUNNER_WORK": {
                      "description": "Working directory for jobs",
                      "defaultValue": "/home/runner/_work"
                    },
                    "GITHUB_SCOPE": {
                      "isOptional": false,
                      "description": "owner/repository, or owner for an org",
                      "defaultValue": "{{GITHUB_SCOPE}}"
                    },
                    "RUNNER_LABELS": {
                      "isOptional": false,
                      "description": "Labels runs-on matches against",
                      "defaultValue": "self-hosted,linux,x64,railway"
                    },
                    "RUNNER_GROUP_ID": {
                      "description": "Runner group ID, 1 is Default",
                      "defaultValue": "1"
                    },
                    "RUNNER_EPHEMERAL": {
                      "isOptional": false,
                      "description": "Re-register before every job",
                      "defaultValue": "true"
                    },
                    "RUNNER_NAME_PREFIX": {
                      "isOptional": false,
                      "description": "Prefix for the generated runner name",
                      "defaultValue": "railway"
                    },
                    "RAILWAY_DOCKERFILE_PATH": {
                      "isOptional": false,
                      "description": "Dockerfile used to build the service",
                      "defaultValue": "Dockerfile"
                    },
                    "RAILWAY_DEPLOYMENT_DRAINING_SECONDS": {
                      "isOptional": false,
                      "description": "Lets a running job finish on redeploy",
                      "defaultValue": "900"
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "post_deploy": {},
  "resources": {
    "expected_services": 1,
    "needs_volume": false
  },
  "generated_at": "2026-09-20T10:14:37.339Z",
  "generator_version": "0.1.0"
}
