weekly_digest
Weekly digest on your GitHub repository 📆
Inspired by probot/weekly-digest.
Features
When you get the Weekly Digest, and installed it, you can get this information:
- Issues created in the last one week
- Open Issues
- Closed Issues
- Noisy Issue
- Liked Issue
- Pull requests opened, updated, or merged in the last pull request
- Opened Pull Requests
- Updated Pull Requests
- Merged Pull Requests
- Commits made in the master branch, in the last week
- Contributors, adding contributions in the last week
- Stargazers, or the fans of your repositories, who really loved your repo
- Releases, of the project you are working on
usage
$ git clone github.com/yangwenmai/weekly_digest
$ cd weekly_digest
$ go run github_weekly_disgest.go --access_token=<your personal github access_token> --owner=yangwenmai --repo=weekly_digest --end_date="2019-02-19 08:00:00" --interval=7
或者:
$ export access_token=xxx
$ sh run.sh
Run at 12:00 in every week:
$ crontab -e
SHELL=/bin/bash
PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/bin:$PATH
0 12 * * 1 source ~/.zshrc; cd /xxx/weekly_digest && sh +x run.sh >> run.log 2>&1
Note
- You can
export access_token=xxx
in your ~/.zshrc
or ~/bash_profile
- You must be set
SHELL=/bin/bash
、PATH=XXX
、source ~/.zshrc
in crontab.
Reference
- Github Pull Request API
- Create Your Personal Access Token
Credits
This project is developed and maintained by yangwenmai.
I would like to thanks abhijeetps for this project. ❤️