Closed coolerUA closed 6 years ago
Thanks for reporting this, much appreciated!
It looks like your log snippet contains two requests:
POST "/github_hook?repository_id=XXXXXXXXXX"
which ends up being a 404GET "/"
which ends up with a 302By the looks of things I am guessing Github Hook either cannot find a project to update. Please double check that your Redmine project identifier matches the repository name in GitHub, and if it doesn't specify it in your webhook URL using the project_id
parameter.
Adding "project_id" parametr to webhook url seems fixed this.
Now I`m getting error
fatal: Refusing to fetch into current branch refs/heads/master of non-bare repository
I`ll try to fix it, seems this is on my side.
Thank you!
Looks like your repository hasn't been set up as a mirror/bare repo. See http://www.redmine.org/projects/redmine/wiki/HowTo_keep_in_sync_your_git_repository_for_redmine for details.
When recieving events from github, getting:
How to set up than github can push without redirect to login page? I suppose I can set authorization token in request url, but didn`t find how to do it in documentation.