Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/apostrophecms/count-outside-pull-requests

Count pull requests to your github repositories from outside your team.
https://github.com/apostrophecms/count-outside-pull-requests

Last synced: about 2 months ago
JSON representation

Count pull requests to your github repositories from outside your team.

Awesome Lists containing this project

README

        

"Hey cool, people are contributing PRs to our projects!"

"How many PRs aren't from our team?"

```
git clone https://github.com/apostrophecms/count-outside-pull-requests
npm install
cp config-example.js config.js
# edit that jawn, then...
node app
```

"How about in the last quarter?"

```
node app --from=2017-07-01 --to=2017-10-01
```

*The `--to` option is "up to but not including," so this is correct.*

## Changelog

1.2.0: automatically excludes org members unless `team` is explicitly configured. To use this option effectively your token must have read access to the members list.

1.1.0: `orgs` config option to check all repos in those orgs.