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