hussainnaqvee / github-webhook

A basic github webhook implementation
0 stars 0 forks source link

We are moving to separate repos, so this can simply check the origin repo #5

Open Idrinth opened 5 months ago

Idrinth commented 5 months ago

https://github.com/hussainnaqvee/github-webhook/blob/2c33f2f914daec354ec5dbb6329e7305816e7d71/index.js#L86

hussainnaqvee commented 5 months ago

For that, we will have to add webhooks for each repo. And on the website-builder server end, will the single endpoint be sufficient enough to handle all those webhooks then? If yes, then I would to add the handling for that too as well.

Idrinth commented 5 months ago

Will be adding a web-hook on the organisation level, so there is only one. The single endpoint is likely sufficient, if not I'll just deploy the tool multiple times and point the different repositories at different end points

hussainnaqvee commented 5 months ago

Will be adding a web-hook on the organisation level, so there is only one. The single endpoint is likely sufficient, if not I'll just deploy the tool multiple times and point the different repositories at different end points

I guess then I have to check the repo name and the time interval check. So it will be kinda universal.

Idrinth commented 5 months ago

Will be adding a web-hook on the organisation level, so there is only one. The single endpoint is likely sufficient, if not I'll just deploy the tool multiple times and point the different repositories at different end points

I guess then I have to check the repo name and the time interval check. So it will be kinda universal.

you could also check if any commit to any the-one was made before rebuilding contributors - if there is none, there should be no need :)