This is a bot that helps with automated comments on github issues.
- Reply to issues when a label is added. E.g. add a comment to tell user to use forum instead when an issues does not contain a bug report or feature request.
- move issues to other repositories, if the issue is specific to an extension. This action will be triggered by adding a label to an issue which is not closed (allowing to edit labels after an issue has been closed).
- deploy this repo on a webserver.
- run
composer install - create a
config.local.phpand override things fromconfig.phpthere. - run
./yii github/registerto install webhooks in the repos.- The bot user needs Admin privilege to do this, this can be removed after registering the hooks, so it only needs Write privilege for normal actions. Alternatively you can specify the
--noAdminoption for running the command, which allows you to specify a github auth token for a user that has admin privileges. - register can safely run multiple times, it does check whether a hook already exists and updates the hook instead of adding duplicates.
- The bot user needs Admin privilege to do this, this can be removed after registering the hooks, so it only needs Write privilege for normal actions. Alternatively you can specify the
- run
./yii github/un-registerto remove webhooks from the repos