repo-chat-bot

module
v0.0.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 4, 2020 License: Apache-2.0

README

GitHub and GitLab PR/MR bot for DDEV-Live

This repository contains common functionality for GitHub and GitLab bot. DDEV-Live users will be able to communicate with ddev-live platform using PR or MR comments formatted as commands. Initial scope is limited to only preview sites, also known as site cloning for PRs/MRs.

Core GitHub/GitLab bot tasks described in:
Initial set of commands, responses and triggers we would like to support:

Integration configuration

For GitHub, this requires read and write access to issues and pull requests scope, the bot will be available on repositories selected in the GitHub Apps user installation.

For GitLab, this requires api scope on the issued PAT and the bot will be available on all repositories referenced by user created SiteImageSource.

Basic test

The repo-chat-bot supports simple ping/pong command response to test the integration:

Comment on PR/MR with ddev-live command:

/ddev-live-ping

Bot should promptly respond in a following comment:

ddev-live-pong

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL
JackTT - Gopher 🇻🇳