alexellis / derek

Reduce maintainer fatigue by automating GitHub
https://github.com/alexellis/derek/blob/master/USER_GUIDE.md
MIT License
806 stars 72 forks source link

Fix typo in removing deprecated api endpoint #157

Closed Waterdrips closed 3 years ago

Waterdrips commented 3 years ago

Description

Github deprecated and api endpoint for auth tokens on apps, I previously typed apps/ and it should have been app/

This has been tested by running the broken container, verifying that it did not work, then changing the apps to app and re-deploying - then invoking a change on github that sent webhooks to my installation. After the fix it worked, was given the 5k/hr rate limit and correctly added / removed labels from PRs.

There are also some logging improvements and the wrong error was being used for one of the print statements.

Signed-off-by: Alistair Hey alistair@heyal.co.uk

Motivation and Context

How Has This Been Tested?

see commit message and text above

Types of changes

Checklist: