Open link in a new tab

Content

Expand project menu

GitHub sends a notification to OpenProject but OpenProject does not update projects

Hello everyone,

I am following the instructions at the following page to integrate GitHub with OpenProject. 
https://www.openproject.org/blog/how-to-openproject-github-integration/

I also crosschecked everything with documentation at the following address:
https://www.openproject.org/docs/system-admin-guide/integrations/github-integration/#configuration

The GitHub module is added to the project and it is visible. 

When I go to "Project -> Work packages -> <Any ID>" I can see the GitHub tab on the page. I created a branch using the "Git snippets" code segment:
git checkout -b 'task/74-another-test' && git commit --allow-empty -m '[#74] another test

https://projects.XXXXX.com/work_packages/74
'

I made couple changes, I pushed those changes to GitHub, then I created a pull request on GitHub. When I go to 'Settings -> Webhooks -> <WebHook Name> -> Recent Deliveries', I see that the webhook is delivered to OpenProject using the address 'https://projects.XXXXX.com/webhooks/github?key=YYYYYY'. GitHub recieived success, 200, for the webhook. On the other hand, nothing happens on open project. There were no updates to the work package. 

I tried changing the permissions of the 'Github User' to administrator. This did not help as well.

Do you guys have any ideas about what else I can try?

Thanks a lot.

Message actions

Hello, 

Have you been able to find a solution? I have a similar problem, but I get status code 200 on github sends "ping" and status code 404 on "push". I used the same setup guides as you. I'm using OpenProject version 13.

Tay Ozd wrote:

Hello everyone,

I am following the instructions at the following page to integrate GitHub with OpenProject. 
https://www.openproject.org/blog/how-to-openproject-github-integration/

I also crosschecked everything with documentation at the following address:
https://www.openproject.org/docs/system-admin-guide/integrations/github-integration/#configuration

The GitHub module is added to the project and it is visible.

When I go to "Project -> Work packages -> <Any ID>" I can see the GitHub tab on the page. I created a branch using the "Git snippets" code segment:
git checkout -b 'task/74-another-test' && git commit --allow-empty -m '[#74] another test

https://projects.XXXXX.com/work_packages/74
'

I made couple changes, I pushed those changes to GitHub, then I created a pull request on GitHub. When I go to 'Settings -> Webhooks -> <WebHook Name> -> Recent Deliveries', I see that the webhook is delivered to OpenProject using the address 'https://projects.XXXXX.com/webhooks/github?key=YYYYYY'. GitHub recieived success, 200, for the webhook. On the other hand, nothing happens on open project. There were no updates to the work package.

I tried changing the permissions of the 'Github User' to administrator. This did not help as well.

Do you guys have any ideas about what else I can try?

Thanks a lot.