You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Daniel Carrillo 77a704bf9c Add LICENSE 7 months ago
.github/workflows Install dependencies for github actions 10 months ago
GPRMon Add persistence for ack items 10 months ago
resources Migrate to QT5 1 year ago
tests test for save/load ack_items 10 months ago
.gitignore Add persistence for ack items 10 months ago
LICENSE Add LICENSE 7 months ago
README.md Add github.com support and refactor request response handling 10 months ago
gprmon.py remove sys.args from QApplication construction 10 months ago
noxfile.py Remove useless comment 10 months ago
requirements.txt Use uvloop ('https://docs.aiohttp.org/en/stable/third_party.html#approved-third-party-libraries') 11 months ago

README.md

Github pull requests monitor

A WIP non-production ready minimal script to monitor Github pull requests. When a user is added as a reviewer of one or more PR on one or more repositories, an icon on the system tray changes its color.

Configuration

Authentication

Create an Oauth token with the following permissions:

  • repo (Full control of private repositories )

Configuration file

Create a file named gprmon.yml at the same level of gprmon.py, example:

---

# Optional (examples are default values)
interval: 30           # Interval between checks
log_level: INFO        # Log level verbosity
url: "https://<github url>" # for github hosted only

# Mandatory
organization: "<organization/owner of the repository>"
token: "<oauth token>" # can be set as environment variable GITHUB_TOKEN
user: "<user>"         # user to look up among the reviewers
repos:
  - "repo1"
  - "repo2"
  - "repon"