Github Event Webhook

Add a controller for importing events from github

12.0 14.0

https://hub.konvergo.app/web/image/product.template/991/image_1920?unique=d98e05d
  • Odoo Version

Description

Github Event Webhook

This module defines an HTTP controller to register events in Odoo using github webhook.

Each event is processed asynchronously in a queue job.

Configuration

Define your Secret

First, generate a secret that will be used to authentify the webhook with your Odoo instance. You may use the tool of your choice to create the secret.

Then, create a system parameter:

  • Key: github_pull_request.github_secret
  • Value: Your secret
static/description/webhook_secret_parameter.png

Setup the Webhook

Then, in Github, setup the webhook.

static/description/github_webhook_example.png
  • Payload URL: {base_url}/web/github/event
  • Content Type: application/x-www-form-urlencoded
  • Secret: Your secret

In the section Which events would you like to trigger this webhook?, select Let me select individual events, then check Pull requests.

Contributors


License
Technical Name
Log In to view