check_github_deployable
Inspect a GitHub repo or local folder to see if it can deploy a mock, detect what's missing, and reveal problems or warnings. Read-only check to confirm deployability before adding a workflow.
Instructions
Say whether a GitHub repository (or a local folder) would deploy a mock, and what is missing if not. Use it when the user has a repo and asks whether it can serve mocks, or before adding the action to one. Detects which of the two kinds it is: a portable repo of service folders, or a codegen repo that builds a Go server. Returns problems (these stop it deploying), warnings (it deploys but something costs later, such as no teardown trigger, or specs large enough to exhaust a free simulation's 128MB), and workflow_to_add when there is no Mockzilla workflow at all. Read-only: it never changes the repository.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dir | No | A local folder to inspect instead. | |
| repo | No | "owner/name" of a repo to inspect. |