Cannot create a repo webhook for a repo within an organization using github.RepositoryWebhook
#530
Labels
kind/bug
Some behavior is incorrect or out of spec
needs-triage
Needs attention from the triage team
What happened?
The
repository
attribute ofgithub.RepositoryWebhook
implicitly prefixes the url of the git repository with the url of your personal github account. Making it impossible to create a webhook for an organization repository.Example
results in this error:
Output of
pulumi about
Additional context
I'm aware of github.OrganizationWebhook but that does not seem to have a way to specify a single repository within an organization.
How can I create a webhook for a specific org repo?
I thought that this issue may be related to using a personal token, but according to this stackoverflow post an "org level" token is not possible to create
Contributing
Vote on this issue by adding a 👍 reaction.
To contribute a fix for this issue, leave a comment (and link to your pull request, if you've opened one already).
The text was updated successfully, but these errors were encountered: