probot-visitor

0.2.0 • Public • Published

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

Readme

Keywords

Package Sidebar

Install

npm i probot-visitor

Weekly Downloads

1

Version

0.2.0

License

ISC

Last publish

Collaborators

  • bkeepers