Skip to content

[deep-report] Add dispatch-repository dash alias to the safe-output schema (parser accepts it) #39599

@github-actions

Description

@github-actions

Description

parseDispatchRepositoryConfig explicitly accepts both dispatch_repository (underscore, preferred) and dispatch-repository (dash, alias) — see pkg/workflow/dispatch_repository.go:30. However pkg/parser/schemas/main_workflow_schema.json declares only the snake_case key dispatch_repository (line ~9120). A workflow that uses the dash alias the parser deliberately supports will fail strict schema validation.

Fix: add the dispatch-repository alias to the schema (or document that only the underscore form is schema-valid and deprecate the dash alias in the parser). Note: dispatch_repository is also the sole snake_case key among kebab-case safe-output siblings — worth deciding the canonical form while here.

Expected Impact

Closes a parser-vs-schema naming gap (low frequency, but a confusing footgun for an experimental feature).

Suggested Agent

Schema Consistency agent.

Estimated Effort

Fast (< 30 min)

Data Source

DeepReport 2026-06-16 · Schema Consistency Check #39506 (LOW, carried). Verified: parser accepts both forms (dispatch_repository.go:30); schema has only dispatch_repository.

Generated by 🔬 DeepReport - Intelligence Gathering Agent · 321.6 AIC · ⌖ 18.6 AIC · ⊞ 10K ·

  • expires on Jun 18, 2026, 8:25 AM UTC-08:00

Metadata

Metadata

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions