Trigger RepositoryDispatch with custom payload?

It seems there is currently no way trigger a RepositoryDispatch webhook with a custom payload (i.e. the only field is “event type”).

Of course, this could be encoded into the event type as a suffix or something (e.g. {“event_type”: “my_event_name.some_data_here”}) but this seems far from ideal.

It would be really nice to be able to attach arbitrary metadata to RepositoryDispatch events, which could be consumable by consumers of those events.


Thanks for this feedback! We’re always working to improve GitHub and the GitHub Community Forum, and we consider every suggestion we receive. I’ve logged your feature request in our internal feature request list. Though I can’t guarantee anything or share a timeline for this, I can tell you that it’s been shared with the appropriate teams for consideration.

Please let me know if you have any other questions.

It seems this has been added?