github-bot
This is a bot that helps with automated comments on github issues.
Features
- 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).
Installation
- 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
Uninstall
- run
./yii github/un-registerto remove webhooks from the repos

Formed in 2009, the Archive Team (not to be confused with the archive.org Archive-It Team) is a rogue archivist collective dedicated to saving copies of rapidly dying or deleted websites for the sake of history and digital heritage. The group is 100% composed of volunteers and interested parties, and has expanded into a large amount of related projects for saving online and digital history.
