3.1.1 • Published 5 years ago

drill-sergeant v3.1.1

Weekly downloads
7
License
MIT
Repository
github
Last release
5 years ago

Drill Sergeant

Build Status

Keep track and get notified when github pull requests become stale. This is particularly useful for teams utilizing the github flow. Drillsergeant will send a notify of stale PRs via:

  • Email
  • Slack
  • Github (attaching a stale label to the PR)

Screen shot

Install

npm install -g drill-sergeant

Run

This is intended to be run via a crontab or other scheduled task runner.

A typical command line run:

$ GITHUB_TOKEN='<your token here>' drillsergeant -e "youremail@address" -r "user/repository,user/repository2"

If you want it to label the PR as stale:

$ drillsergeant -l -r "user/repository"

If you want to send it to slack:

$ drillsergeant -r "user/repository" --slack-webhook https://your-slack-channel-webhook-url

Configuration

The environment variable GITHUB_TOKEN must be set with a valid github oauth token in order to read the pull requests. For attaching labels, the token needs to have write access to the repo being scanned.

Options

See drillsergeant -h for all available options.

3.1.1

5 years ago

3.1.0

5 years ago

3.0.1

5 years ago

3.0.0

6 years ago

2.1.1

6 years ago

2.1.0

6 years ago

2.0.0

7 years ago

1.0.0

8 years ago

0.3.0

9 years ago

0.2.1

9 years ago

0.2.0

9 years ago

0.1.0

10 years ago

0.0.4

10 years ago

0.0.3

10 years ago

0.0.2

10 years ago

0.0.1

10 years ago