Skip to content

Integration for GitHub -> DoBoard. Use to track GitHub project issues and automatically create a DoBoard task.

License

Notifications You must be signed in to change notification settings

CleanTalk/github-to-doboard

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GitHub to DoBoard Integration

This project integrates GitHub with DoBoard to track GitHub project issues and automatically create DoBoard tasks.

Optionally, it can also send notifications to a Telegram chat.

About DoBoard

DoBoard is a CleanTalk project management tool that helps teams organize their work and collaborate effectively. Learn more at DoBoard.

Prerequisites

  • PHP version 7.3 or higher
  • Composer

Installation

  1. Clone the repository:

    git clone https://github.com/CleanTalk/github-to-doboard.git
    cd github-to-doboard
  2. Install dependencies:

    composer install
  3. Copy the example configuration file and update it with your credentials:

    cp .config.example .config
  4. Edit the .config file with your DoBoard and Telegram Bot API credentials.

Usage

  1. Ensure your web server is configured to handle requests to this file.

Example for apache:

 <VirtualHost *:80>
      ServerName example.com
      DocumentRoot /path/to/github-to-doboard/pub
      RewriteEngine On
      RewriteRule ^(.*)$ /path/to/github-to-doboard/pub/eZgakitv_webHook.php [L]
 </VirtualHost> 

Example for nginx:

server {
    listen 80;
    server_name example.com;
    root /path/to/github-to-doboard/pub;
    location / {
        try_files $uri /eZgakitv_webHook.php;
    }
}
  1. Important! Ensure that your copy of /src repo folder has no public access. Otherwise, there can be unauthorized access attempts.

  2. Set up a webhook in your GitHub repository settings to point to the URL of the eZgakitv_webHook.php file.

  3. Any opened issue in the GitHub repository will be automatically created as a task in DoBoard.

    DoBoard Task Example

  4. Optionally, you can enable Telegram notifications by adding the TG_BOT_API_KEY and TG_CHAT_ID environment variables to the .config file.

Configuration

The .config file should contain the following obligatory environment variables:

DOBOARD_USERNAME=""
DOBOARD_PASSWORD=""
DOBOARD_COMPANY_ID=0
DOBOARD_PROJECT_ID=0
DOBOARD_AUTHOR_ID=0

Optionally, you can add the following environment variables to enable Telegram notifications:

TG_BOT_API_KEY=""
TG_CHAT_ID=0

To enable debug mode, set the DEBUG environment variable to true, false otherwise:

DEBUG=true

License

This project is licensed under the GNU License. See the LICENSE file for details.

Contributing

  1. Fork the repository.
  2. Create a new branch (git checkout -b feature-branch).
  3. Make your changes.
  4. Commit your changes (git commit -am 'Add new feature').
  5. Push to the branch (git push origin feature-branch).
  6. Create a new Pull Request.

Contact

If you have any questions, feel free to contact us at plugins@cleantalk.org

About

Integration for GitHub -> DoBoard. Use to track GitHub project issues and automatically create a DoBoard task.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages