How to pass payload in RepositoryDispatch event?

Hello,

I would like to pass context to my RepositoryDispatch event workflow. 

Thanks,

Uday

3 Likes

Hi @uday31in,

Thank you for being here! Here is a link to the documentation for triggering the RepositoryDispatch webhook.

I hope this helps.

I don’t think this is currently possible. I asked for this feature a while ago in https://github.community/t5/GitHub-API-Development-and/Trigger-RepositoryDispatch-with-custom-payload/td-p/21405

That’s very suprising/unfortunate.

That’s quite a blocker to have RepositoryDispatch really useful.

I think this has been added: https://developer.github.com/v3/repos/#create-a-repository-dispatch-event