Web-hook handler for Gogs to integrate with Bitrix24 Self-hosted. Adds pushed commits as comments to Bitrix24 tasks by their number in commit message.
- You need to have both working Gogs and Bitrix24.
- Put "hooks" folder anywhere within document root of your Bitrix24.
- All users MUST have same emails in Gogs and Bitrix24.
- Choose WebHooks in a project settings in Gogs, and fill in an URL for
commithandler.php
- Optionally specify hook's Secret in
GOGS_SECRET
const - Enjoy :)
Please feel free to modify and use (GPLv2). Pull requests are strongly appreciated.