mirror of
https://github.com/comfyanonymous/ComfyUI.git
synced 2026-05-08 08:12:34 +08:00
* Add Spectral lint CI gate for openapi.yaml Adds a blocking Spectral lint check that runs on PRs touching openapi.yaml or the ruleset itself. The ruleset mirrors the one used for other Comfy-Org service specs: spectral:oas plus conventions for snake_case properties, camelCase operationIds, and response/schema shape. Gate runs at --fail-severity=error, which the spec currently passes with zero errors (a small number of non-blocking warnings/hints remain for WebSocket 101 responses, the existing loose error schema, and two snake_case wire fields). * ci: set least-privilege contents:read permissions on openapi-lint workflow Per CodeRabbit review on #13410. The job only checks out the repo and runs Spectral, so contents:read is sufficient and avoids inheriting any permissive repo/org default token scope. --------- Co-authored-by: guill <jacob.e.segal@gmail.com> |
||
|---|---|---|
| .. | ||
| api-node-template.yml | ||
| check-ai-co-authors.yml | ||
| check-line-endings.yml | ||
| openapi-lint.yml | ||
| pullrequest-ci-run.yml | ||
| release-stable-all.yml | ||
| release-webhook.yml | ||
| ruff.yml | ||
| stable-release.yml | ||
| stale-issues.yml | ||
| tag-dispatch-cloud.yml | ||
| test-build.yml | ||
| test-ci.yml | ||
| test-execution.yml | ||
| test-launch.yml | ||
| test-unit.yml | ||
| update-api-stubs.yml | ||
| update-ci-container.yml | ||
| update-version.yml | ||
| windows_release_dependencies_manual.yml | ||
| windows_release_dependencies.yml | ||
| windows_release_nightly_pytorch.yml | ||
| windows_release_package.yml | ||