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.
-
Place the
pub/eZgakitv_webHook.php
file in the root of your web server.For example, if you are using Apache, you can place the file in the
/var/www/html
directory.If you are using Nginx, you can place the file in the
/var/www/html
directory.If you are using a different web server, you can place the file in the root directory of your server.
Please note, the file name should be unique to prevent unauthorized access. We recommend to rename the file to a unique name.
-
Ensure your web server is configured to handle requests to this file.
-
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