-
Notifications
You must be signed in to change notification settings - Fork 6.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
GitHub Trigger Not Working #734
Comments
Please ask by default all questions in the forum here: GitHub allows only to set webhooks for repositories you are part of. I guess the problem you are having is that you try to set it for repositories you are not. |
OK I will post this in the community. However, I am sure I am trying with a repo that I am part of. |
Thanks a lot! Are you member or owner? |
I am a member of the organisation and contributor to the repo |
Did you try with a repro you own or are an admin of? Is possible that it works only for those. |
yes on my own repo it works fine but org repos it doesn’t for some reason |
hm, then there is probably sadly nothing we can do about it as that would be something GitHub would have to change. All we can do is to use their API and if it behaves strange or unexpected they would have to "fix" it. I expect however that it probably behaves like this on purpose and they will not change it. |
Yeah sadly it is so. I wanted to use this for notifications but I found an alternative and I have shared the workflow here => https://n8n.io/workflows/471 I will be closing this now as apparently its not a bug but an issue with GitHub permissions on their side. |
Ah really cool. Thanks a lot for sharing your workaround! Is very appreciated. |
I've found a solution for this as it's happened to me as well. I got 404 errors when trying to trigger actions (i.e. issue creation/releases) on an organization repository. The problem is not within the workflow integration but rather how GitHub handles it's permissions. Background: I'm signed into my Workflow using OAuth2 and my personal account. I'm the owner of the organization. I then headed to my organizations access page: (github.com/org/repository/settings/access) and added my user account (it wasn't in this listed because I didn't add myself thinking I already had "admin" access.). After adding myself, the workflow is running smoothly. |
Describe the bug
Github trigger returns
There was a problem running the workflow: Github error response [404]: Not Found
To Reproduce
Steps to reproduce the behavior:
Expected behavior
To execute the workfow as in this video https://www.youtube.com/watch?v=3w7xIMKLVAg
Environment (please complete the following information):
(using the server setup with docker-compose from the documentation https://docs.n8n.io/reference/server-setup.html#_5-create-docker-compose-file)
The text was updated successfully, but these errors were encountered: