Contributions are welcome: new custom nodes, CUDA variants, smoke-test improvements, documentation.
- Fork the repo and open a PR against
main. Nobody — the maintainer included — pushes tomaindirectly. - The
prworkflow builds the image and runs the smoke test. For PRs from forks, a maintainer must approve the workflow run (this protects the runners from abuse). - A PR needs 1 approving review from the code owner and a green
smokecheck. PRs are squash-merged.
- Custom nodes: add an entry to
nodes.lock.yamlwithrepo,refand the full commit SHA (never a branch), and add itsclass_typevalues torequired_nodes.txt. Say in the PR which workflow needs it. - No models, LoRAs or data in the image. Models go in
models.lock.yaml(downloaded to the volume):repo, full-SHArevision,file,folder,sha256,size—get-modelprints a ready entry. Say in the PR which workflow needs it. - Don't change the torch version without a reason: it can change outputs for a fixed seed.
- Actions pinned by SHA; least-privilege permissions per job; never
pull_request_target. - Don't use third-party trademarks (e.g. "Comfy") in file, image or project names.
- Test locally before opening the PR (Docker or Apple
container); see the README.
- After the first build: Packages → diffusion-runtime → Package settings → Change visibility → public (GitHub has no API for this).
- Install the Renovate GitHub App, then add it as a bypass actor (via PR only) on the
main: reviewruleset. Branch protection and Actions settings are managed outside this repo. - Validate each new image on a real GPU and promote it (see How releases work in the README).
- Run the
retentionworkflow as a dry run to review what it would delete.
By contributing, you agree that your contribution is published under this repository's MIT license (inbound = outbound). Don't add third-party code under incompatible licenses.