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.
DoBoard is a CleanTalk project management tool that helps teams organize their work and collaborate effectively. Learn more at DoBoard.
- PHP version 7.3 or higher
- Composer
-
Clone the repository:
git clone https://github.com/CleanTalk/github-to-doboard.git cd github-to-doboard
-
Install dependencies:
composer install
-
Copy the example configuration file and update it with your credentials:
cp .config.example .config
-
Edit the
.config
file with your DoBoard and Telegram Bot API credentials.
- Ensure your web server is configured to handle requests to this file.
<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>
server {
listen 80;
server_name example.com;
root /path/to/github-to-doboard/pub;
location / {
try_files $uri /eZgakitv_webHook.php;
}
}
-
Important! Ensure that your copy of /src repo folder has no public access. Otherwise, there can be unauthorized access attempts.
-
Set up a webhook in your GitHub repository settings to point to the URL of the
eZgakitv_webHook.php
file. -
Any opened issue in the GitHub repository will be automatically created as a task in DoBoard.
-
Optionally, you can enable Telegram notifications by adding the
TG_BOT_API_KEY
andTG_CHAT_ID
environment variables to the.config
file.
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
This project is licensed under the GNU License. See the LICENSE file for details.
- Fork the repository.
- Create a new branch (git checkout -b feature-branch).
- Make your changes.
- Commit your changes (git commit -am 'Add new feature').
- Push to the branch (git push origin feature-branch).
- Create a new Pull Request.
If you have any questions, feel free to contact us at plugins@cleantalk.org