probot-visitor
v0.2.0
Published
Helper to periodically visit installed integrations and repositories
Downloads
6
Readme
Probot: Visitor
A helper for probot to visiting installed repositories on an interval.
Usage
const visitor = require('probot-visitor');
module.exports = robot => {
visitor(robot, (installation, repository) => {
// this function is called on an interval, which is 1 hr by default;
});
};
TODO:
- [x] Get it working
- [x] Move
paginate.js
into probot core - [x] Ability to manually stop visiting a repository (e.g. like when there is not configuration for the plugin)
- [ ] Stop visiting uninstalled integrations
- [ ] and repositories removed from an integration
- [x] Start visiting newly installed integrations
- [x] and repositories added to an existing installation