You cannot 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 2 years ago
.github/workflows Install dependencies for github actions 3 years ago
GPRMon Add persistence for ack items 3 years ago
resources Migrate to QT5 3 years ago
tests test for save/load ack_items 3 years ago
.gitignore Add persistence for ack items 3 years ago
LICENSE Add LICENSE 2 years ago
README.md Add github.com support and refactor request response handling 3 years ago
gprmon.py remove sys.args from QApplication construction 3 years ago
noxfile.py Remove useless comment 3 years ago
requirements.txt Use uvloop ('https://docs.aiohttp.org/en/stable/third_party.html#approved-third-party-libraries') 3 years 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"