How to trigger Github workflow when github webhook gets tigger

Viewed 16

I want to run github workflow when a github webhook is triggered, basically i want to run a workflow when an event occurs in another repository.

I know, on: repository_dispatch: types: [xxxxxxxxx] can be used to trigger a workflow when there is http post method is called on https://github.com/repos/{owner}/{repo}/dispatches. But this post Method requires event type and client_payload which is not provided by github webhook.

How to achieve this? please advice.

0 Answers
Related