You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[deep-report] Add missing repository_dispatch to user-rate-limit.events schema enum #52087
pkg/parser/schemas/main_workflow_schema.json restricts user-rate-limit.events to a fixed enum (workflow_dispatch, issue_comment, pull_request_review, pull_request_review_comment, issues, pull_request, discussion_comment, discussion) that omits repository_dispatch. But pkg/workflow/role_checks.go already includes repository_dispatch in programmaticTriggers when auto-inferring rate-limited events from a workflow's on: block. Because schema validation uses additionalProperties: false-style enum enforcement, an author cannot explicitly declare events: [repository_dispatch] even though the compiler already treats it as a valid inferred trigger.
Expected Impact
Closes a schema/compiler mismatch so repository_dispatch-triggered workflows can explicitly configure user-rate-limit, matching what the compiler already infers implicitly. Prevents confusing validation failures for authors trying to be explicit.
Suggested Agent
Schema-consistency workflow or a small direct PR to main_workflow_schema.json.
Activity
github-actions commentedon Aug 11, 2026
🍪 Issue Monster selected this for Copilot
I have identified this issue as a good candidate for automated resolution and requested assignment to the Copilot coding agent.
If assignment succeeds, the Copilot coding agent will analyze the issue and create a pull request with the fix.
Om nom nom! 🍪