Replies: 2 comments
-
Hi. Issue is indicative of a permissions or access control problem. May be a lot of reasons for that, for example:
3.Repository Dispatch Event Type: 4.Workflow Trigger Permissions: 5.IP Allow List: 6.Enterprise or Organization Restrictions: 7.Rate Limiting: 8.GitHub Status and Outages: |
Beta Was this translation helpful? Give feedback.
-
As @sbollap1 rightly noted - Org webhooks cannot access private repos. Seems there's no way to send auth token from org webhook, and even basic auth to the target (user + password) is only available if creating the org webhook using the Github API / CLI. Bummer. And I wish this issue would get some serious attention rather than generic advice. |
Beta Was this translation helpful? Give feedback.
-
Select Topic Area
Question
Body
I have a webhook configured in an org. payload url is
https://api.github.com/repos/cis-shan-sas/shan-test-repo-1/dispatches
content type is application/json
checked only the creation of repo event
and I have a workflow like this
so far nothing special. all i want to do it to trigger this workflow when someone creates a new repo from github UI. in my org.
so the webhook is getting triggered but i am seeing an error 403 for some reason.
Note when I do this:
I do see that the workflow is triggered under Actions in the repo. any ideas on what i am doing wrong
Beta Was this translation helpful? Give feedback.
All reactions