Name: plugin-gogs-webhook
Owner: Kanboard
Description: Plugin to handle Gogs Webhooks
Created: 2016-01-10 15:55:27.0
Updated: 2018-04-13 17:35:14.0
Pushed: 2018-04-13 17:39:07.0
Homepage:
Size: 13
Language: PHP
GitHub Committers
User | Most Recent Commit | # Commits |
Other Committers
User | Email | Most Recent Commit | # Commits |
README
Gogs Webhook
Connect Gogs webhook events to Kanboard automatic actions.
Author
- Frederic Guillot
- License MIT
Requirements
- Kanboard >= 1.0.37
- Gogs
- Gogs webhooks configured for a project
Installation
You have the choice between 3 methods:
- Install the plugin from the Kanboard plugin manager in one click
- Download the zip file and decompress everything under the directory
plugins/GogsWebhook
- Clone this repository into the folder
plugins/GogsWebhook
Note: Plugin folder is case-sensitive.
Documentation
List of supported events
List of supported actions
- Create a comment from an external provider
- Close a task
Configuration
- On Kanboard, go to the project settings and choose the section Integrations
- Copy the Gogs webhook URL
- On Gogs, go to the project settings and go to the section Webhooks
- Add a new Gogs webhook and paste the Kanboard URL
Examples
Close a Kanboard task when a commit pushed to Gogs
- Choose the event: Gogs commit received
- Choose action: Close the task
When one or more commits are sent to Gogs, Kanboard will receive the information, each commit message with a task number included will be closed.
Example:
- Commit message: “Fix bug #1234”
- That will close the Kanboard task #1234
Add a comment when a commit received
- Choose the event: Gogs commit received
- Choose action: Create a comment from an external provider
The comment will contain the commit message and the URL to the commit.
Example:
- Commit message: “Added feature for #1234”
- That will add a new comment on the task #1234