Creating webhooks in repositories which do not belong to a given user


#1

Hello, I’d like to know if it’s possible (or scheduled) to create webhooks to repositories a given user does not own (e.g., public repositories)?

By doing some tests on your API this doesn’t seem possible and this SO post seems to corroborate that.

Thanks!


#2

Hey @sashaafm, in order to initiate a subscription to any repository event you need to be an admin on that repository. I suggest reaching out to the owner of the org that the repository belongs to if you have a great idea that requires a webhook to be placed on the repo.

Hope this helped!