Connect with the GitHub API to trigger a webhook repository_dispatch
event.
In this blog post I describe how to use the REST Connector with Camunda 8 Platform in order to connect with GitHub workflows. This GitHub Dispatch connector should simplify the configuration and is based on the REST Connector and allows to send an appropriate POST request to the correct GitHub API, as documented here.
In order to use the connector template with your Desktop Modeler, copy the element template github-dispatch-connector.json to your resources folder either next to your modeler executable or to your BPMN model files. For more information read the corresponding documentation. In Camunda Platform 8 SaaS we will hopefully support this connector soon as well.
If the template is available in your modeler you can choose it in the corresponding templates menu. If the GitHub dispatcher connector template is picked the properties panel will look similar to this:
Follow this blog post to set the correct details.
The element template can be found in the element-templates/github-dispatch-connector.json file.